#5C7C18#5C7C18
#5C7C18 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.128 H 126.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7C18 |
|---|---|
| RGB | rgb(92, 124, 24) |
| HSL | hsl(79, 68%, 29%) |
| HSV | hsv(79, 81%, 49%) |
| CMYK | cmyk(25.8%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(47.95, -26.32, 46.81) |
| CIE-LCH | lch(47.95, 53.70, 119.35°) |
| OKLab | oklab(54.24% -0.0761 0.1032) |
| OKLCH | oklch(54.24% 0.128 126.4) |
| XYZ | xyz(11.7862, 16.7564, 3.4773) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.84
Avocado
#568203
ΔE00 2.95
Olive Green
#677A04
ΔE00 3.86
Murky Green
#6C7A0E
ΔE00 4.77
Swamp
#698339
ΔE00 4.94
Mossy Green
#638B27
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7C18 #38187C
analogous
#7C6A18 #5C7C18 #2A7C18
triadic
#5C7C18 #185C7C #7C185C
tetradic
#5C7C18 #187C6A #38187C #7C182A
square
#5C7C18 #187C6A #38187C #7C182A
split-complementary
#5C7C18 #182A7C #6A187C
monochromatic
#131A05 #36490E #5C7C18 #82AF22 #A4D836
Accessibility & contrast
On white
4.83
#5C7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#5C7C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C7C18
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C7C18 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#607669
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c7c18; /* rgb */ color: rgb(92, 124, 24); /* oklch */ color: oklch(54.2% 0.128 126.4);
Tailwind
colors: {
custom: {
50: '#8ea25e',
500: '#5c7c18',
950: '#000000',
},
}SCSS
$custom: #5c7c18; $custom-light: #8ea25e; $custom-dark: #000000;
JSON
{
"hex": "#5c7c18",
"rgb": {
"r": 92,
"g": 124,
"b": 24
},
"hsl": {
"h": 79.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.5424,
"c": 0.12822,
"h": 126.4
},
"luminance": 0.16757
}Semantic roles & 50–950 ramp
primary
#5C7C18
secondary
#633FB1
accent
#3DEA75
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0F05
muted
#7D7E79