#5B7E1D#5B7E1D
#5B7E1D is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.128 H 127.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7E1D |
|---|---|
| RGB | rgb(91, 126, 29) |
| HSL | hsl(82, 63%, 30%) |
| HSV | hsv(82, 77%, 49%) |
| CMYK | cmyk(27.8%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(48.55, -27.44, 45.62) |
| CIE-LCH | lch(48.55, 53.23, 121.03°) |
| OKLab | oklab(54.72% -0.0787 0.1015) |
| OKLCH | oklch(54.72% 0.128 127.8) |
| XYZ | xyz(11.9970, 17.2343, 3.8566) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.61
Dirty Green
#667E2C
ΔE00 2.76
Swamp
#698339
ΔE00 4.38
Olive Green
#677A04
ΔE00 4.73
Mossy Green
#638B27
ΔE00 4.77
Sap Green
#5C8B15
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7E1D #401D7E
analogous
#7E701D #5B7E1D #2B7E1D
triadic
#5B7E1D #1D5B7E #7E1D5B
tetradic
#5B7E1D #1D7E70 #401D7E #7E1D2B
square
#5B7E1D #1D7E70 #401D7E #7E1D2B
split-complementary
#5B7E1D #1D2B7E #701D7E
monochromatic
#131B06 #374C12 #5B7E1D #7FB028 #9FD342
Accessibility & contrast
On white
4.72
#5B7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#5B7E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7E1D
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7E1D | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857508
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#5E786B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5b7e1d; /* rgb */ color: rgb(91, 126, 29); /* oklch */ color: oklch(54.7% 0.128 127.8);
Tailwind
colors: {
custom: {
50: '#8da361',
500: '#5b7e1d',
950: '#000000',
},
}SCSS
$custom: #5b7e1d; $custom-light: #8da361; $custom-dark: #000000;
JSON
{
"hex": "#5b7e1d",
"rgb": {
"r": 91,
"g": 126,
"b": 29
},
"hsl": {
"h": 81.649,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.54722,
"c": 0.12849,
"h": 127.8
},
"luminance": 0.17235
}Semantic roles & 50–950 ramp
primary
#5B7E1D
secondary
#6C45B1
accent
#42E67D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79