#5C862F#5C862F
#5C862F is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.126 H 131.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5C862F |
|---|---|
| RGB | rgb(92, 134, 47) |
| HSL | hsl(89, 48%, 35%) |
| HSV | hsv(89, 65%, 53%) |
| CMYK | cmyk(31.3%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(51.30, -29.53, 41.00) |
| CIE-LCH | lch(51.30, 50.53, 125.76°) |
| OKLab | oklab(57.02% -0.0829 0.0945) |
| OKLCH | oklch(57.02% 0.126 131.3) |
| XYZ | xyz(13.4517, 19.5303, 5.7498) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green (survey)
#658B38
ΔE00 2.33
Mossy Green
#638B27
ΔE00 2.82
Swamp
#698339
ΔE00 3.39
Sap Green
#5C8B15
ΔE00 3.80
Dirty Green
#667E2C
ΔE00 4.23
Avocado
#568203
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C862F #592F86
analogous
#86842F #5C862F #30862F
triadic
#5C862F #2F5C86 #862F5C
tetradic
#5C862F #2F8684 #592F86 #862F30
square
#5C862F #2F8684 #592F86 #862F30
split-complementary
#5C862F #2F3086 #842F86
monochromatic
#1E2B0F #3D591F #5C862F #7BB33F #99C966
Accessibility & contrast
On white
4.28
#5C862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#5C862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C862F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C862F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#5E8174
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5c862f; /* rgb */ color: rgb(92, 134, 47); /* oklch */ color: oklch(57.0% 0.126 131.3);
Tailwind
colors: {
custom: {
50: '#8da96c',
500: '#5c862f',
950: '#000000',
},
}SCSS
$custom: #5c862f; $custom-light: #8da96c; $custom-dark: #000000;
JSON
{
"hex": "#5c862f",
"rgb": {
"r": 92,
"g": 134,
"b": 47
},
"hsl": {
"h": 88.966,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.57015,
"c": 0.12574,
"h": 131.3
},
"luminance": 0.19531
}Semantic roles & 50–950 ramp
primary
#5C862F
secondary
#8760B0
accent
#50D892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A