Skip to content

Shiny Shamrock (#5FA778)

The hex code for Shiny Shamrock is #5FA778. It is rgb(95, 167, 120) in RGB, hsl(141, 29%, 51%) in HSL, and about cmyk(43%, 0%, 28%, 35%) in CMYK — a mid-tone green. Black text is the more readable choice on this background.

#5FA778
HEX#5FA778
RGBrgb(95, 167, 120)
HSLhsl(141, 29%, 51%)
HSVhsv(141, 43%, 65%)
CMYKcmyk(43%, 0%, 28%, 35%)
OKLCHoklch(66.8% 0.101 154.1)
LABlab(62.83% -31.70 17.05)
LCHlch(62.83% 36.00 151.73)

Colors Closest to Shiny Shamrock

Shiny Shamrock is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every green in the library.

#5FA778 Channel Values

How Shiny Shamrock breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 95 · G 167 · B 1208-bit channels as sent to the display
HSLH 141° · S 29% · L 51%Easiest model for building lighter and darker variants
HSVH 141° · S 43% · V 65%Matches the picker in most design tools
CMYKC 43% · M 0% · Y 28% · K 35%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.88:1 vs white · 7.29:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Shiny Shamrock background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text2.88:1AA normal AA large AAA normal
TextBlack text7.29:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #5FA778 in the contrast checker.

Colors That Go With Shiny Shamrock

Pairings derived from color-wheel relationships. The complementary color sits opposite Shiny Shamrock; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Shiny Shamrock

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #5FA778.

How Shiny Shamrock Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#5FA778
Protanopia#9E9E78
Protanomaly#89A178
Deuteranopia#94947A
Deuteranomaly#829C79
Tritanopia#68A2A2
Tritanomaly#65A493
Achromatopsia#989898

Test a full palette in the color blindness simulator.

Using #5FA778 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--shiny-shamrock: #5FA778;
CSS backgroundbackground-color: #5FA778;
Tailwind configcolors: { 'shiny-shamrock': '#5FA778' }
SwiftUIColor(red: 0.373, green: 0.655, blue: 0.471)
Android XML<color name="shiny_shamrock">#5FA778</color>
SVG fillfill="#5FA778"

More Green Colors

Shiny Shamrock sits in the greenfamily. These are its neighbours across that family's full range, each with its own breakdown.

#5FA778 Frequently Asked Questions

What is the hex code for Shiny Shamrock?

The hex code for Shiny Shamrock is #5FA778. That is rgb(95, 167, 120) in RGB, hsl(141, 29%, 51%) in HSL, and approximately cmyk(43%, 0%, 28%, 35%) in CMYK.

What is the RGB value of #5FA778?

#5FA778 is rgb(95, 167, 120) — red 95, green 167, and blue 120 on the 0-255 scale.

What is the CMYK value of #5FA778?

#5FA778 converts to approximately cmyk(43%, 0%, 28%, 35%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #5FA778 be black or white?

Black text is the more readable choice. #5FA778 scores 2.88:1 against white and 7.29:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #5FA778 as a CSS color keyword?

No. #5FA778 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is seagreen (#2E8B57) at a CIE76 distance of 13.15, which is visibly different.

Open Shiny Shamrock in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.