#5F831A#5F831A
#5F831A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.135 H 127.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5F831A |
|---|---|
| RGB | rgb(95, 131, 26) |
| HSL | hsl(81, 67%, 31%) |
| HSV | hsv(81, 80%, 51%) |
| CMYK | cmyk(27.5%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(50.38, -28.37, 48.48) |
| CIE-LCH | lch(50.38, 56.17, 120.33°) |
| OKLab | oklab(56.27% -0.0817 0.1069) |
| OKLCH | oklch(56.27% 0.135 127.4) |
| XYZ | xyz(13.0221, 18.7398, 3.9081) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.95
Mossy Green
#638B27
ΔE00 3.05
Sap Green
#5C8B15
ΔE00 3.08
Dirty Green
#667E2C
ΔE00 3.40
Olivedrab
#6B8E23
ΔE00 4.22
Swamp
#698339
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F831A #3E1A83
analogous
#83721A #5F831A #2B831A
triadic
#5F831A #1A5F83 #831A5F
tetradic
#5F831A #1A8372 #3E1A83 #831A2B
square
#5F831A #1A8372 #3E1A83 #831A2B
split-complementary
#5F831A #1A2B83 #721A83
monochromatic
#151D06 #3A5010 #5F831A #84B624 #A4D93F
Accessibility & contrast
On white
4.42
#5F831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#5F831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F831A
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F831A | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#637D70
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #5f831a; /* rgb */ color: rgb(95, 131, 26); /* oklch */ color: oklch(56.3% 0.135 127.4);
Tailwind
colors: {
custom: {
50: '#90a760',
500: '#5f831a',
950: '#000000',
},
}SCSS
$custom: #5f831a; $custom-light: #90a760; $custom-dark: #000000;
JSON
{
"hex": "#5f831a",
"rgb": {
"r": 95,
"g": 131,
"b": 26
},
"hsl": {
"h": 80.571,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.56267,
"c": 0.1346,
"h": 127.4
},
"luminance": 0.1874
}Semantic roles & 50–950 ramp
primary
#5F831A
secondary
#6A42B7
accent
#3EEA79
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79