#5B8113#5B8113
#5B8113 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.138 H 128.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5B8113 |
|---|---|
| RGB | rgb(91, 129, 19) |
| HSL | hsl(81, 74%, 29%) |
| HSV | hsv(81, 85%, 51%) |
| CMYK | cmyk(29.5%, 0%, 85.3%, 49.4%) |
| CIE-LAB | lab(49.46, -29.38, 49.65) |
| CIE-LCH | lch(49.46, 57.69, 120.61°) |
| OKLab | oklab(55.44% -0.0847 0.1084) |
| OKLCH | oklch(55.44% 0.138 128) |
| XYZ | xyz(12.2822, 17.9714, 3.4377) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.25
Sap Green
#5C8B15
ΔE00 3.63
Dirty Green
#667E2C
ΔE00 3.71
Mossy Green
#638B27
ΔE00 3.94
Olive Green
#677A04
ΔE00 4.75
Swamp
#698339
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B8113 #391381
analogous
#817013 #5B8113 #248113
triadic
#5B8113 #135B81 #81135B
tetradic
#5B8113 #138170 #391381 #811324
square
#5B8113 #138170 #391381 #811324
split-complementary
#5B8113 #132481 #701381
monochromatic
#131B04 #354C0B #5B8113 #81B61B #A3E02E
Accessibility & contrast
On white
4.57
#5B8113 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#5B8113 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B8113
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B8113 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B8113 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#5F7B6D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5b8113; /* rgb */ color: rgb(91, 129, 19); /* oklch */ color: oklch(55.4% 0.138 128.0);
Tailwind
colors: {
custom: {
50: '#8da55d',
500: '#5b8113',
950: '#000000',
},
}SCSS
$custom: #5b8113; $custom-light: #8da55d; $custom-dark: #000000;
JSON
{
"hex": "#5b8113",
"rgb": {
"r": 91,
"g": 129,
"b": 19
},
"hsl": {
"h": 80.727,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.55443,
"c": 0.13755,
"h": 128
},
"luminance": 0.17972
}Semantic roles & 50–950 ramp
primary
#5B8113
secondary
#653AB6
accent
#37F177
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79