#5C7F17#5C7F17
#5C7F17 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.0% C 0.133 H 127.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7F17 |
|---|---|
| RGB | rgb(92, 127, 23) |
| HSL | hsl(80, 69%, 29%) |
| HSV | hsv(80, 82%, 50%) |
| CMYK | cmyk(27.6%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(48.90, -27.83, 48.00) |
| CIE-LCH | lch(48.90, 55.49, 120.10°) |
| OKLab | oklab(55.01% -0.0803 0.1055) |
| OKLCH | oklch(55.01% 0.133 127.3) |
| XYZ | xyz(12.1577, 17.5157, 3.5508) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.00
Dirty Green
#667E2C
ΔE00 3.08
Olive Green
#677A04
ΔE00 4.30
Sap Green
#5C8B15
ΔE00 4.43
Mossy Green
#638B27
ΔE00 4.49
Swamp
#698339
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7F17 #3A177F
analogous
#7F6E17 #5C7F17 #287F17
triadic
#5C7F17 #175C7F #7F175C
tetradic
#5C7F17 #177F6E #3A177F #7F1728
square
#5C7F17 #177F6E #3A177F #7F1728
split-complementary
#5C7F17 #17287F #6E177F
monochromatic
#131A05 #364B0E #5C7F17 #82B320 #A3DB36
Accessibility & contrast
On white
4.66
#5C7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#5C7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5C7F17
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C7F17 | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#60796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5c7f17; /* rgb */ color: rgb(92, 127, 23); /* oklch */ color: oklch(55.0% 0.133 127.3);
Tailwind
colors: {
custom: {
50: '#8ea45e',
500: '#5c7f17',
950: '#000000',
},
}SCSS
$custom: #5c7f17; $custom-light: #8ea45e; $custom-dark: #000000;
JSON
{
"hex": "#5c7f17",
"rgb": {
"r": 92,
"g": 127,
"b": 23
},
"hsl": {
"h": 80.192,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.55011,
"c": 0.1326,
"h": 127.3
},
"luminance": 0.17516
}Semantic roles & 50–950 ramp
primary
#5C7F17
secondary
#663EB4
accent
#3CEC77
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79