#5E831B#5E831B
#5E831B is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.135 H 127.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5E831B |
|---|---|
| RGB | rgb(94, 131, 27) |
| HSL | hsl(81, 66%, 31%) |
| HSV | hsv(81, 79%, 51%) |
| CMYK | cmyk(28.2%, 0%, 79.4%, 48.6%) |
| CIE-LAB | lab(50.32, -28.73, 48.07) |
| CIE-LCH | lch(50.32, 56.00, 120.86°) |
| OKLab | oklab(56.21% -0.0826 0.1063) |
| OKLCH | oklch(56.21% 0.135 127.8) |
| XYZ | xyz(12.9302, 18.6911, 3.9632) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.90
Mossy Green
#638B27
ΔE00 3.02
Sap Green
#5C8B15
ΔE00 3.05
Dirty Green
#667E2C
ΔE00 3.43
Olivedrab
#6B8E23
ΔE00 4.31
Swamp
#698339
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E831B #401B83
analogous
#83741B #5E831B #2A831B
triadic
#5E831B #1B5E83 #831B5E
tetradic
#5E831B #1B8374 #401B83 #831B2A
square
#5E831B #1B8374 #401B83 #831B2A
split-complementary
#5E831B #1B2A83 #741B83
monochromatic
#151E06 #3A5011 #5E831B #82B625 #A2D841
Accessibility & contrast
On white
4.43
#5E831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#5E831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E831B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E831B | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#627D70
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #5e831b; /* rgb */ color: rgb(94, 131, 27); /* oklch */ color: oklch(56.2% 0.135 127.8);
Tailwind
colors: {
custom: {
50: '#8fa761',
500: '#5e831b',
950: '#000000',
},
}SCSS
$custom: #5e831b; $custom-light: #8fa761; $custom-dark: #000000;
JSON
{
"hex": "#5e831b",
"rgb": {
"r": 94,
"g": 131,
"b": 27
},
"hsl": {
"h": 81.346,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.56205,
"c": 0.13458,
"h": 127.8
},
"luminance": 0.18691
}Semantic roles & 50–950 ramp
primary
#5E831B
secondary
#6C43B6
accent
#3FE97B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A