#5D7D1C#5D7D1C
#5D7D1C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.127 H 126.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7D1C |
|---|---|
| RGB | rgb(93, 125, 28) |
| HSL | hsl(80, 63%, 30%) |
| HSV | hsv(80, 78%, 49%) |
| CMYK | cmyk(25.6%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(48.36, -26.17, 45.84) |
| CIE-LCH | lch(48.36, 52.78, 119.73°) |
| OKLab | oklab(54.59% -0.0755 0.1018) |
| OKLCH | oklch(54.59% 0.127 126.6) |
| XYZ | xyz(12.0575, 17.0780, 3.7595) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.47
Avocado
#568203
ΔE00 2.93
Olive Green
#677A04
ΔE00 4.10
Swamp
#698339
ΔE00 4.44
Murky Green
#6C7A0E
ΔE00 4.93
Mossy Green
#638B27
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7D1C #3C1C7D
analogous
#7D6D1C #5D7D1C #2C7D1C
triadic
#5D7D1C #1C5D7D #7D1C5D
tetradic
#5D7D1C #1C7D6D #3C1C7D #7D1C2C
square
#5D7D1C #1C7D6D #3C1C7D #7D1C2C
split-complementary
#5D7D1C #1C2C7D #6D1C7D
monochromatic
#131906 #384B11 #5D7D1C #82AF27 #A3D43F
Accessibility & contrast
On white
4.76
#5D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#5D7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7D1C
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7D1C | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5d7d1c; /* rgb */ color: rgb(93, 125, 28); /* oklch */ color: oklch(54.6% 0.127 126.6);
Tailwind
colors: {
custom: {
50: '#8ea260',
500: '#5d7d1c',
950: '#000000',
},
}SCSS
$custom: #5d7d1c; $custom-light: #8ea260; $custom-dark: #000000;
JSON
{
"hex": "#5d7d1c",
"rgb": {
"r": 93,
"g": 125,
"b": 28
},
"hsl": {
"h": 79.794,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.54594,
"c": 0.12672,
"h": 126.6
},
"luminance": 0.17078
}Semantic roles & 50–950 ramp
primary
#5D7D1C
secondary
#6844B1
accent
#41E678
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79