#5D7F15#5D7F15
#5D7F15 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.133 H 126.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7F15 |
|---|---|
| RGB | rgb(93, 127, 21) |
| HSL | hsl(79, 72%, 29%) |
| HSV | hsv(79, 83%, 50%) |
| CMYK | cmyk(26.8%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(48.96, -27.50, 48.69) |
| CIE-LCH | lch(48.96, 55.92, 119.46°) |
| OKLab | oklab(55.07% -0.0796 0.1066) |
| OKLCH | oklch(55.07% 0.133 126.8) |
| XYZ | xyz(12.2390, 17.5598, 3.4539) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.02
Dirty Green
#667E2C
ΔE00 3.12
Olive Green
#677A04
ΔE00 4.00
Sap Green
#5C8B15
ΔE00 4.45
Mossy Green
#638B27
ΔE00 4.55
Swamp
#698339
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7F15 #37157F
analogous
#7F6C15 #5D7F15 #287F15
triadic
#5D7F15 #155D7F #7F155D
tetradic
#5D7F15 #157F6C #37157F #7F1528
square
#5D7F15 #157F6C #37157F #7F1528
split-complementary
#5D7F15 #15287F #6C157F
monochromatic
#131A04 #374A0C #5D7F15 #83B41E #A6DD31
Accessibility & contrast
On white
4.65
#5D7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#5D7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7F15
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7F15 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817421
Tritanopia (blue-blind)
#61796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5d7f15; /* rgb */ color: rgb(93, 127, 21); /* oklch */ color: oklch(55.1% 0.133 126.8);
Tailwind
colors: {
custom: {
50: '#8fa45d',
500: '#5d7f15',
950: '#000000',
},
}SCSS
$custom: #5d7f15; $custom-light: #8fa45d; $custom-dark: #000000;
JSON
{
"hex": "#5d7f15",
"rgb": {
"r": 93,
"g": 127,
"b": 21
},
"hsl": {
"h": 79.245,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.55069,
"c": 0.13305,
"h": 126.8
},
"luminance": 0.1756
}Semantic roles & 50–950 ramp
primary
#5D7F15
secondary
#623CB4
accent
#39EE73
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79