#5B891A#5B891A
#5B891A is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.144 H 130.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5B891A |
|---|---|
| RGB | rgb(91, 137, 26) |
| HSL | hsl(85, 68%, 32%) |
| HSV | hsv(85, 81%, 54%) |
| CMYK | cmyk(33.6%, 0%, 81%, 46.3%) |
| CIE-LAB | lab(52.05, -32.79, 49.94) |
| CIE-LCH | lch(52.05, 59.74, 123.29°) |
| OKLab | oklab(57.56% -0.0935 0.1101) |
| OKLCH | oklch(57.56% 0.144 130.3) |
| XYZ | xyz(13.4464, 20.1896, 4.1656) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 0.91
Mossy Green
#638B27
ΔE00 1.74
Avocado
#568203
ΔE00 2.85
Olivedrab
#6B8E23
ΔE00 3.24
Moss Green (survey)
#658B38
ΔE00 3.78
Swamp
#698339
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B891A #481A89
analogous
#89801A #5B891A #24891A
triadic
#5B891A #1A5B89 #891A5B
tetradic
#5B891A #1A8980 #481A89 #891A24
square
#5B891A #1A8980 #481A89 #891A24
split-complementary
#5B891A #1A2489 #801A89
monochromatic
#172206 #395610 #5B891A #7DBC24 #9CDB42
Accessibility & contrast
On white
4.17
#5B891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#5B891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B891A
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B891A | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5b891a; /* rgb */ color: rgb(91, 137, 26); /* oklch */ color: oklch(57.6% 0.144 130.3);
Tailwind
colors: {
custom: {
50: '#8eab61',
500: '#5b891a',
950: '#000000',
},
}SCSS
$custom: #5b891a; $custom-light: #8eab61; $custom-dark: #000000;
JSON
{
"hex": "#5b891a",
"rgb": {
"r": 91,
"g": 137,
"b": 26
},
"hsl": {
"h": 84.865,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.57562,
"c": 0.14444,
"h": 130.3
},
"luminance": 0.2019
}Semantic roles & 50–950 ramp
primary
#5B891A
secondary
#7543BC
accent
#3DEB85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A