#5B831A#5B831A
#5B831A is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.0% C 0.137 H 128.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5B831A |
|---|---|
| RGB | rgb(91, 131, 26) |
| HSL | hsl(83, 67%, 31%) |
| HSV | hsv(83, 80%, 51%) |
| CMYK | cmyk(30.5%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(50.13, -30.00, 48.16) |
| CIE-LCH | lch(50.13, 56.74, 121.92°) |
| OKLab | oklab(56% -0.0859 0.1064) |
| OKLCH | oklch(56% 0.137 128.9) |
| XYZ | xyz(12.6171, 18.5310, 3.8892) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.62
Sap Green
#5C8B15
ΔE00 2.97
Mossy Green
#638B27
ΔE00 3.12
Dirty Green
#667E2C
ΔE00 3.79
Moss Green (survey)
#658B38
ΔE00 4.47
Swamp
#698339
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B831A #421A83
analogous
#83761A #5B831A #26831A
triadic
#5B831A #1A5B83 #831A5B
tetradic
#5B831A #1A8376 #421A83 #831A26
square
#5B831A #1A8376 #421A83 #831A26
split-complementary
#5B831A #1A2683 #761A83
monochromatic
#141D06 #385010 #5B831A #7EB624 #9ED93F
Accessibility & contrast
On white
4.46
#5B831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#5B831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B831A
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B831A | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#5E7D70
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5b831a; /* rgb */ color: rgb(91, 131, 26); /* oklch */ color: oklch(56.0% 0.137 128.9);
Tailwind
colors: {
custom: {
50: '#8da760',
500: '#5b831a',
950: '#000000',
},
}SCSS
$custom: #5b831a; $custom-light: #8da760; $custom-dark: #000000;
JSON
{
"hex": "#5b831a",
"rgb": {
"r": 91,
"g": 131,
"b": 26
},
"hsl": {
"h": 82.857,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.56001,
"c": 0.13674,
"h": 128.9
},
"luminance": 0.18531
}Semantic roles & 50–950 ramp
primary
#5B831A
secondary
#6F42B7
accent
#3EEA7F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0D0F05
muted
#7D7F79