#5C831F#5C831F
#5C831F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.133 H 128.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5C831F |
|---|---|
| RGB | rgb(92, 131, 31) |
| HSL | hsl(83, 62%, 32%) |
| HSV | hsv(83, 76%, 51%) |
| CMYK | cmyk(29.8%, 0%, 76.3%, 48.6%) |
| CIE-LAB | lab(50.22, -29.31, 46.53) |
| CIE-LCH | lch(50.22, 54.99, 122.21°) |
| OKLab | oklab(56.1% -0.0837 0.1038) |
| OKLCH | oklch(56.1% 0.133 128.9) |
| XYZ | xyz(12.7772, 18.6065, 4.2143) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.12
Mossy Green
#638B27
ΔE00 2.99
Sap Green
#5C8B15
ΔE00 3.14
Dirty Green
#667E2C
ΔE00 3.46
Moss Green (survey)
#658B38
ΔE00 4.08
Swamp
#698339
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C831F #461F83
analogous
#83781F #5C831F #2A831F
triadic
#5C831F #1F5C83 #831F5C
tetradic
#5C831F #1F8378 #461F83 #831F2A
square
#5C831F #1F8378 #461F83 #831F2A
split-complementary
#5C831F #1F2A83 #781F83
monochromatic
#162008 #395213 #5C831F #7FB42B #9ED449
Accessibility & contrast
On white
4.45
#5C831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#5C831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C831F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C831F | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A790A
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5c831f; /* rgb */ color: rgb(92, 131, 31); /* oklch */ color: oklch(56.1% 0.133 128.9);
Tailwind
colors: {
custom: {
50: '#8ea762',
500: '#5c831f',
950: '#000000',
},
}SCSS
$custom: #5c831f; $custom-light: #8ea762; $custom-dark: #000000;
JSON
{
"hex": "#5c831f",
"rgb": {
"r": 92,
"g": 131,
"b": 31
},
"hsl": {
"h": 83.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.56099,
"c": 0.13332,
"h": 128.9
},
"luminance": 0.18607
}Semantic roles & 50–950 ramp
primary
#5C831F
secondary
#7348B6
accent
#43E582
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A