#558C1F#558C1F
#558C1F is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.149 H 133.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #558C1F |
|---|---|
| RGB | rgb(85, 140, 31) |
| HSL | hsl(90, 64%, 34%) |
| HSV | hsv(90, 78%, 55%) |
| CMYK | cmyk(39.3%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(52.71, -36.14, 48.80) |
| CIE-LCH | lch(52.71, 60.72, 126.52°) |
| OKLab | oklab(58.03% -0.1018 0.1087) |
| OKLCH | oklch(58.03% 0.149 133.1) |
| XYZ | xyz(13.3715, 20.7858, 4.6036) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 1.93
Mossy Green
#638B27
ΔE00 2.53
Moss Green (survey)
#658B38
ΔE00 3.82
Olivedrab
#6B8E23
ΔE00 4.11
Avocado
#568203
ΔE00 4.20
Fern Green
#548D44
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#558C1F #561F8C
analogous
#8B8C1F #558C1F #1F8C1F
triadic
#558C1F #1F558C #8C1F55
tetradic
#558C1F #1F8B8C #561F8C #8C1F1F
square
#558C1F #1F8B8C #561F8C #8C1F1F
split-complementary
#558C1F #1F1F8C #8C1F8B
monochromatic
#182809 #375A14 #558C1F #73BE2A #92D84E
Accessibility & contrast
On white
4.07
#558C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#558C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #558C1F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##558C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##558C1F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#558677
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #558c1f; /* rgb */ color: rgb(85, 140, 31); /* oklch */ color: oklch(58.0% 0.149 133.1);
Tailwind
colors: {
custom: {
50: '#8aae64',
500: '#558c1f',
950: '#000000',
},
}SCSS
$custom: #558c1f; $custom-light: #8aae64; $custom-dark: #000000;
JSON
{
"hex": "#558c1f",
"rgb": {
"r": 85,
"g": 140,
"b": 31
},
"hsl": {
"h": 90.275,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.58025,
"c": 0.14887,
"h": 133.1
},
"luminance": 0.20786
}Semantic roles & 50–950 ramp
primary
#558C1F
secondary
#844CBB
accent
#41E795
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A