#5D801C#5D801C
#5D801C is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.131 H 127.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5D801C |
|---|---|
| RGB | rgb(93, 128, 28) |
| HSL | hsl(81, 64%, 31%) |
| HSV | hsv(81, 78%, 50%) |
| CMYK | cmyk(27.3%, 0%, 78.1%, 49.8%) |
| CIE-LAB | lab(49.31, -27.64, 46.75) |
| CIE-LCH | lch(49.31, 54.31, 120.59°) |
| OKLab | oklab(55.37% -0.0795 0.1037) |
| OKLCH | oklch(55.37% 0.131 127.5) |
| XYZ | xyz(12.4430, 17.8491, 3.8880) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.18
Dirty Green
#667E2C
ΔE00 2.81
Mossy Green
#638B27
ΔE00 4.04
Sap Green
#5C8B15
ΔE00 4.15
Swamp
#698339
ΔE00 4.23
Olive Green
#677A04
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D801C #3F1C80
analogous
#80711C #5D801C #2B801C
triadic
#5D801C #1C5D80 #801C5D
tetradic
#5D801C #1C8071 #3F1C80 #801C2B
square
#5D801C #1C8071 #3F1C80 #801C2B
split-complementary
#5D801C #1C2B80 #711C80
monochromatic
#141C06 #394E11 #5D801C #81B227 #A1D541
Accessibility & contrast
On white
4.60
#5D801C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#5D801C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5D801C
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D801C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D801C | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877705
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5d801c; /* rgb */ color: rgb(93, 128, 28); /* oklch */ color: oklch(55.4% 0.131 127.5);
Tailwind
colors: {
custom: {
50: '#8ea561',
500: '#5d801c',
950: '#000000',
},
}SCSS
$custom: #5d801c; $custom-light: #8ea561; $custom-dark: #000000;
JSON
{
"hex": "#5d801c",
"rgb": {
"r": 93,
"g": 128,
"b": 28
},
"hsl": {
"h": 81,
"s": 64.103,
"l": 30.588
},
"oklch": {
"l": 0.55369,
"c": 0.13065,
"h": 127.5
},
"luminance": 0.17849
}Semantic roles & 50–950 ramp
primary
#5D801C
secondary
#6B44B3
accent
#41E77B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79