#5D7E1B#5D7E1B
#5D7E1B is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.129 H 126.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7E1B |
|---|---|
| RGB | rgb(93, 126, 27) |
| HSL | hsl(80, 65%, 30%) |
| HSV | hsv(80, 79%, 49%) |
| CMYK | cmyk(26.2%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(48.67, -26.72, 46.49) |
| CIE-LCH | lch(48.67, 53.62, 119.89°) |
| OKLab | oklab(54.85% -0.0771 0.103) |
| OKLCH | oklch(54.85% 0.129 126.8) |
| XYZ | xyz(12.1729, 17.3278, 3.7400) |
| Luminance | 0.1733 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.58
Dirty Green
#667E2C
ΔE00 2.60
Olive Green
#677A04
ΔE00 4.18
Swamp
#698339
ΔE00 4.43
Mossy Green
#638B27
ΔE00 4.77
Sap Green
#5C8B15
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7E1B #3C1B7E
analogous
#7E6E1B #5D7E1B #2B7E1B
triadic
#5D7E1B #1B5D7E #7E1B5D
tetradic
#5D7E1B #1B7E6E #3C1B7E #7E1B2B
square
#5D7E1B #1B7E6E #3C1B7E #7E1B2B
split-complementary
#5D7E1B #1B2B7E #6E1B7E
monochromatic
#131905 #384C10 #5D7E1B #82B026 #A3D63E
Accessibility & contrast
On white
4.70
#5D7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#5D7E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7E1B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7E1B | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5d7e1b; /* rgb */ color: rgb(93, 126, 27); /* oklch */ color: oklch(54.8% 0.129 126.8);
Tailwind
colors: {
custom: {
50: '#8ea360',
500: '#5d7e1b',
950: '#000000',
},
}SCSS
$custom: #5d7e1b; $custom-light: #8ea360; $custom-dark: #000000;
JSON
{
"hex": "#5d7e1b",
"rgb": {
"r": 93,
"g": 126,
"b": 27
},
"hsl": {
"h": 80,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.54846,
"c": 0.12861,
"h": 126.8
},
"luminance": 0.17328
}Semantic roles & 50–950 ramp
primary
#5D7E1B
secondary
#6843B2
accent
#40E878
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79