#5D7D1D#5D7D1D
#5D7D1D is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.126 H 126.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7D1D |
|---|---|
| RGB | rgb(93, 125, 29) |
| HSL | hsl(80, 62%, 30%) |
| HSV | hsv(80, 77%, 49%) |
| CMYK | cmyk(25.6%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(48.36, -26.12, 45.48) |
| CIE-LCH | lch(48.36, 52.44, 119.87°) |
| OKLab | oklab(54.6% -0.0752 0.1012) |
| OKLCH | oklch(54.6% 0.126 126.6) |
| XYZ | xyz(12.0696, 17.0829, 3.8236) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.40
Avocado
#568203
ΔE00 2.99
Olive Green
#677A04
ΔE00 4.19
Swamp
#698339
ΔE00 4.36
Murky Green
#6C7A0E
ΔE00 4.99
Mossy Green
#638B27
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7D1D #3D1D7D
analogous
#7D6D1D #5D7D1D #2D7D1D
triadic
#5D7D1D #1D5D7D #7D1D5D
tetradic
#5D7D1D #1D7D6D #3D1D7D #7D1D2D
square
#5D7D1D #1D7D6D #3D1D7D #7D1D2D
split-complementary
#5D7D1D #1D2D7D #6D1D7D
monochromatic
#131A06 #384B11 #5D7D1D #82AF29 #A2D341
Accessibility & contrast
On white
4.75
#5D7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#5D7D1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7D1D
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7D1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7D1D | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5d7d1d; /* rgb */ color: rgb(93, 125, 29); /* oklch */ color: oklch(54.6% 0.126 126.6);
Tailwind
colors: {
custom: {
50: '#8ea261',
500: '#5d7d1d',
950: '#000000',
},
}SCSS
$custom: #5d7d1d; $custom-light: #8ea261; $custom-dark: #000000;
JSON
{
"hex": "#5d7d1d",
"rgb": {
"r": 93,
"g": 125,
"b": 29
},
"hsl": {
"h": 80,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.54601,
"c": 0.12611,
"h": 126.6
},
"luminance": 0.17083
}Semantic roles & 50–950 ramp
primary
#5D7D1D
secondary
#6945B1
accent
#42E579
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79