#5C851F#5C851F
#5C851F is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.6% C 0.136 H 129.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5C851F |
|---|---|
| RGB | rgb(92, 133, 31) |
| HSL | hsl(84, 62%, 32%) |
| HSV | hsv(84, 77%, 52%) |
| CMYK | cmyk(30.8%, 0%, 76.7%, 47.8%) |
| CIE-LAB | lab(50.86, -30.26, 47.14) |
| CIE-LCH | lch(50.86, 56.02, 122.69°) |
| OKLab | oklab(56.62% -0.0863 0.1051) |
| OKLCH | oklch(56.62% 0.136 129.4) |
| XYZ | xyz(13.0484, 19.1489, 4.3047) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.27
Mossy Green
#638B27
ΔE00 2.36
Sap Green
#5C8B15
ΔE00 2.45
Moss Green (survey)
#658B38
ΔE00 3.69
Dirty Green
#667E2C
ΔE00 4.01
Olivedrab
#6B8E23
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C851F #481F85
analogous
#857B1F #5C851F #29851F
triadic
#5C851F #1F5C85 #851F5C
tetradic
#5C851F #1F857B #481F85 #851F29
square
#5C851F #1F857B #481F85 #851F29
split-complementary
#5C851F #1F2985 #7B1F85
monochromatic
#172208 #3A5313 #5C851F #7EB72B #9DD54A
Accessibility & contrast
On white
4.35
#5C851F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#5C851F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C851F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C851F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C851F | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B09
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#5F7F72
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #5c851f; /* rgb */ color: rgb(92, 133, 31); /* oklch */ color: oklch(56.6% 0.136 129.4);
Tailwind
colors: {
custom: {
50: '#8ea863',
500: '#5c851f',
950: '#000000',
},
}SCSS
$custom: #5c851f; $custom-light: #8ea863; $custom-dark: #000000;
JSON
{
"hex": "#5c851f",
"rgb": {
"r": 92,
"g": 133,
"b": 31
},
"hsl": {
"h": 84.118,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.56617,
"c": 0.13595,
"h": 129.4
},
"luminance": 0.19149
}Semantic roles & 50–950 ramp
primary
#5C851F
secondary
#7549B7
accent
#43E584
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A