#5D7C1D#5D7C1D
#5D7C1D is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.125 H 126.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7C1D |
|---|---|
| RGB | rgb(93, 124, 29) |
| HSL | hsl(80, 62%, 30%) |
| HSV | hsv(80, 77%, 49%) |
| CMYK | cmyk(25%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(48.05, -25.62, 45.17) |
| CIE-LCH | lch(48.05, 51.93, 119.56°) |
| OKLab | oklab(54.34% -0.0739 0.1006) |
| OKLCH | oklch(54.34% 0.125 126.3) |
| XYZ | xyz(11.9437, 16.8310, 3.7816) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.39
Avocado
#568203
ΔE00 3.29
Olive Green
#677A04
ΔE00 4.06
Swamp
#698339
ΔE00 4.49
Murky Green
#6C7A0E
ΔE00 4.86
Muddy Green
#657432
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7C1D #3C1D7C
analogous
#7C6C1D #5D7C1D #2D7C1D
triadic
#5D7C1D #1D5D7C #7C1D5D
tetradic
#5D7C1D #1D7C6C #3C1D7C #7C1D2D
square
#5D7C1D #1D7C6C #3C1D7C #7C1D2D
split-complementary
#5D7C1D #1D2D7C #6C1D7C
monochromatic
#131906 #384A11 #5D7C1D #82AE29 #A3D341
Accessibility & contrast
On white
4.81
#5D7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5D7C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7C1D
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7C1D | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#61766A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d7c1d; /* rgb */ color: rgb(93, 124, 29); /* oklch */ color: oklch(54.3% 0.125 126.3);
Tailwind
colors: {
custom: {
50: '#8ea261',
500: '#5d7c1d',
950: '#000000',
},
}SCSS
$custom: #5d7c1d; $custom-light: #8ea261; $custom-dark: #000000;
JSON
{
"hex": "#5d7c1d",
"rgb": {
"r": 93,
"g": 124,
"b": 29
},
"hsl": {
"h": 79.579,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.54343,
"c": 0.12479,
"h": 126.3
},
"luminance": 0.16831
}Semantic roles & 50–950 ramp
primary
#5D7C1D
secondary
#6845B0
accent
#43E578
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79