#5C8F1A#5C8F1A
#5C8F1A is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.151 H 131.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5C8F1A |
|---|---|
| RGB | rgb(92, 143, 26) |
| HSL | hsl(86, 69%, 33%) |
| HSV | hsv(86, 82%, 56%) |
| CMYK | cmyk(35.7%, 0%, 81.8%, 43.9%) |
| CIE-LAB | lab(54.02, -35.13, 51.77) |
| CIE-LCH | lch(54.02, 62.56, 124.16°) |
| OKLab | oklab(59.19% -0.0998 0.114) |
| OKLCH | oklch(59.19% 0.152 131.2) |
| XYZ | xyz(14.4224, 21.9943, 4.4625) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 1.45
Mossy Green
#638B27
ΔE00 2.27
Olivedrab
#6B8E23
ΔE00 2.85
Moss Green (survey)
#658B38
ΔE00 4.20
Avocado
#568203
ΔE00 4.76
Dark Yellow Green
#728F02
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C8F1A #4D1A8F
analogous
#8F871A #5C8F1A #218F1A
triadic
#5C8F1A #1A5C8F #8F1A5C
tetradic
#5C8F1A #1A8F87 #4D1A8F #8F1A21
square
#5C8F1A #1A8F87 #4D1A8F #8F1A21
split-complementary
#5C8F1A #1A218F #871A8F
monochromatic
#192707 #3B5B11 #5C8F1A #7DC323 #9BDD46
Accessibility & contrast
On white
3.89
#5C8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5C8F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C8F1A
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C8F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C8F1A | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5c8f1a; /* rgb */ color: rgb(92, 143, 26); /* oklch */ color: oklch(59.2% 0.151 131.2);
Tailwind
colors: {
custom: {
50: '#8fb062',
500: '#5c8f1a',
950: '#000000',
},
}SCSS
$custom: #5c8f1a; $custom-light: #8fb062; $custom-dark: #000000;
JSON
{
"hex": "#5c8f1a",
"rgb": {
"r": 92,
"g": 143,
"b": 26
},
"hsl": {
"h": 86.154,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.59185,
"c": 0.1515,
"h": 131.2
},
"luminance": 0.21995
}Semantic roles & 50–950 ramp
primary
#5C8F1A
secondary
#7B46BF
accent
#3CEC89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A