#5C8B1A#5C8B1A
#5C8B1A is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.146 H 130.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5C8B1A |
|---|---|
| RGB | rgb(92, 139, 26) |
| HSL | hsl(85, 68%, 32%) |
| HSV | hsv(85, 81%, 55%) |
| CMYK | cmyk(33.8%, 0%, 81.3%, 45.5%) |
| CIE-LAB | lab(52.75, -33.32, 50.60) |
| CIE-LCH | lch(52.75, 60.58, 123.36°) |
| OKLab | oklab(58.14% -0.095 0.1115) |
| OKLCH | oklch(58.14% 0.146 130.4) |
| XYZ | xyz(13.8326, 20.8147, 4.2659) |
| Luminance | 0.2082 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 0.45
Mossy Green
#638B27
ΔE00 1.59
Olivedrab
#6B8E23
ΔE00 2.84
Avocado
#568203
ΔE00 3.47
Moss Green (survey)
#658B38
ΔE00 3.79
Dark Yellow Green
#728F02
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C8B1A #491A8B
analogous
#8B821A #5C8B1A #238B1A
triadic
#5C8B1A #1A5C8B #8B1A5C
tetradic
#5C8B1A #1A8B82 #491A8B #8B1A23
square
#5C8B1A #1A8B82 #491A8B #8B1A23
split-complementary
#5C8B1A #1A238B #821A8B
monochromatic
#182407 #3A5710 #5C8B1A #7EBF24 #9DDC43
Accessibility & contrast
On white
4.07
#5C8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#5C8B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C8B1A
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C8B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C8B1A | 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)
#928000
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#5E8576
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5c8b1a; /* rgb */ color: rgb(92, 139, 26); /* oklch */ color: oklch(58.1% 0.146 130.4);
Tailwind
colors: {
custom: {
50: '#8fad61',
500: '#5c8b1a',
950: '#000000',
},
}SCSS
$custom: #5c8b1a; $custom-light: #8fad61; $custom-dark: #000000;
JSON
{
"hex": "#5c8b1a",
"rgb": {
"r": 92,
"g": 139,
"b": 26
},
"hsl": {
"h": 84.956,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.58144,
"c": 0.14644,
"h": 130.4
},
"luminance": 0.20815
}Semantic roles & 50–950 ramp
primary
#5C8B1A
secondary
#7644BD
accent
#3CEB85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A