#5B7B15#5B7B15
#5B7B15 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.129 H 126.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7B15 |
|---|---|
| RGB | rgb(91, 123, 21) |
| HSL | hsl(79, 71%, 28%) |
| HSV | hsv(79, 83%, 48%) |
| CMYK | cmyk(26%, 0%, 82.9%, 51.8%) |
| CIE-LAB | lab(47.55, -26.40, 47.37) |
| CIE-LCH | lch(47.55, 54.23, 119.13°) |
| OKLab | oklab(53.89% -0.0765 0.1039) |
| OKLCH | oklch(53.89% 0.129 126.4) |
| XYZ | xyz(11.5328, 16.4440, 3.2757) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.10
Dirty Green
#667E2C
ΔE00 3.17
Olive Green
#677A04
ΔE00 3.76
Murky Green
#6C7A0E
ΔE00 4.73
Swamp
#698339
ΔE00 5.33
Muddy Green
#657432
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7B15 #35157B
analogous
#7B6815 #5B7B15 #287B15
triadic
#5B7B15 #155B7B #7B155B
tetradic
#5B7B15 #157B68 #35157B #7B1528
square
#5B7B15 #157B68 #35157B #7B1528
split-complementary
#5B7B15 #15287B #68157B
monochromatic
#131A04 #34470C #5B7B15 #82AF1E #A5DB2F
Accessibility & contrast
On white
4.90
#5B7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5B7B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7B15
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7B15 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#5F7568
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5b7b15; /* rgb */ color: rgb(91, 123, 21); /* oklch */ color: oklch(53.9% 0.129 126.4);
Tailwind
colors: {
custom: {
50: '#8da15d',
500: '#5b7b15',
950: '#000000',
},
}SCSS
$custom: #5b7b15; $custom-light: #8da15d; $custom-dark: #000000;
JSON
{
"hex": "#5b7b15",
"rgb": {
"r": 91,
"g": 123,
"b": 21
},
"hsl": {
"h": 78.824,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.53894,
"c": 0.12899,
"h": 126.4
},
"luminance": 0.16444
}Semantic roles & 50–950 ramp
primary
#5B7B15
secondary
#603BB0
accent
#3AEE72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0F05
muted
#7D7E79