#5C811F#5C811F
#5C811F is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.131 H 128.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5C811F |
|---|---|
| RGB | rgb(92, 129, 31) |
| HSL | hsl(83, 61%, 31%) |
| HSV | hsv(83, 76%, 51%) |
| CMYK | cmyk(28.7%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(49.59, -28.35, 45.91) |
| CIE-LCH | lch(49.59, 53.96, 121.70°) |
| OKLab | oklab(55.58% -0.0811 0.1025) |
| OKLCH | oklch(55.58% 0.131 128.4) |
| XYZ | xyz(12.5112, 18.0745, 4.1256) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.24
Dirty Green
#667E2C
ΔE00 2.98
Mossy Green
#638B27
ΔE00 3.67
Sap Green
#5C8B15
ΔE00 3.86
Swamp
#698339
ΔE00 4.03
Moss Green (survey)
#658B38
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C811F #441F81
analogous
#81751F #5C811F #2B811F
triadic
#5C811F #1F5C81 #811F5C
tetradic
#5C811F #1F8175 #441F81 #811F2B
square
#5C811F #1F8175 #441F81 #811F2B
split-complementary
#5C811F #1F2B81 #751F81
monochromatic
#161E07 #395013 #5C811F #7FB22B #9ED347
Accessibility & contrast
On white
4.55
#5C811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#5C811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C811F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C811F | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5c811f; /* rgb */ color: rgb(92, 129, 31); /* oklch */ color: oklch(55.6% 0.131 128.4);
Tailwind
colors: {
custom: {
50: '#8ea562',
500: '#5c811f',
950: '#000000',
},
}SCSS
$custom: #5c811f; $custom-light: #8ea562; $custom-dark: #000000;
JSON
{
"hex": "#5c811f",
"rgb": {
"r": 92,
"g": 129,
"b": 31
},
"hsl": {
"h": 82.653,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.55581,
"c": 0.13068,
"h": 128.4
},
"luminance": 0.18075
}Semantic roles & 50–950 ramp
primary
#5C811F
secondary
#7148B4
accent
#43E480
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F05
muted
#7D7F7A