#557F18#557F18
#557F18 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.136 H 130.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #557F18 |
|---|---|
| RGB | rgb(85, 127, 24) |
| HSL | hsl(84, 68%, 30%) |
| HSV | hsv(84, 81%, 50%) |
| CMYK | cmyk(33.1%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(48.48, -30.63, 47.14) |
| CIE-LCH | lch(48.48, 56.22, 123.01°) |
| OKLab | oklab(54.56% -0.0874 0.104) |
| OKLCH | oklch(54.56% 0.136 130) |
| XYZ | xyz(11.5005, 17.1756, 3.5733) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.01
Dirty Green
#667E2C
ΔE00 3.98
Dark Grass Green
#388004
ΔE00 4.40
Sap Green
#5C8B15
ΔE00 4.51
Mossy Green
#638B27
ΔE00 4.76
Swamp
#698339
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#557F18 #42187F
analogous
#7F7618 #557F18 #227F18
triadic
#557F18 #18557F #7F1855
tetradic
#557F18 #187F76 #42187F #7F1822
square
#557F18 #187F76 #42187F #7F1822
split-complementary
#557F18 #18227F #76187F
monochromatic
#111A05 #334C0E #557F18 #77B222 #98D938
Accessibility & contrast
On white
4.73
#557F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#557F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #557F18
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##557F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##557F18 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#57796C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #557f18; /* rgb */ color: rgb(85, 127, 24); /* oklch */ color: oklch(54.6% 0.136 130.0);
Tailwind
colors: {
custom: {
50: '#89a45f',
500: '#557f18',
950: '#000000',
},
}SCSS
$custom: #557f18; $custom-light: #89a45f; $custom-dark: #000000;
JSON
{
"hex": "#557f18",
"rgb": {
"r": 85,
"g": 127,
"b": 24
},
"hsl": {
"h": 84.466,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.54556,
"c": 0.13587,
"h": 130
},
"luminance": 0.17176
}Semantic roles & 50–950 ramp
primary
#557F18
secondary
#6F3FB3
accent
#3DEB84
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79