#5C7F14#5C7F14
#5C7F14 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.0% C 0.134 H 127.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7F14 |
|---|---|
| RGB | rgb(92, 127, 20) |
| HSL | hsl(80, 73%, 29%) |
| HSV | hsv(80, 84%, 50%) |
| CMYK | cmyk(27.6%, 0%, 84.3%, 50.2%) |
| CIE-LAB | lab(48.89, -27.96, 48.89) |
| CIE-LCH | lch(48.89, 56.32, 119.77°) |
| OKLab | oklab(55% -0.0809 0.1069) |
| OKLCH | oklch(55% 0.134 127.1) |
| XYZ | xyz(12.1293, 17.5043, 3.4013) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.87
Dirty Green
#667E2C
ΔE00 3.27
Olive Green
#677A04
ΔE00 4.15
Sap Green
#5C8B15
ΔE00 4.41
Mossy Green
#638B27
ΔE00 4.57
Swamp
#698339
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7F14 #37147F
analogous
#7F6D14 #5C7F14 #277F14
triadic
#5C7F14 #145C7F #7F145C
tetradic
#5C7F14 #147F6D #37147F #7F1427
square
#5C7F14 #147F6D #37147F #7F1427
split-complementary
#5C7F14 #14277F #6D147F
monochromatic
#131A04 #364A0C #5C7F14 #82B41C #A5DE2F
Accessibility & contrast
On white
4.67
#5C7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#5C7F14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5C7F14
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7F14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C7F14 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#60796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5c7f14; /* rgb */ color: rgb(92, 127, 20); /* oklch */ color: oklch(55.0% 0.134 127.1);
Tailwind
colors: {
custom: {
50: '#8ea45d',
500: '#5c7f14',
950: '#000000',
},
}SCSS
$custom: #5c7f14; $custom-light: #8ea45d; $custom-dark: #000000;
JSON
{
"hex": "#5c7f14",
"rgb": {
"r": 92,
"g": 127,
"b": 20
},
"hsl": {
"h": 79.626,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.54996,
"c": 0.13405,
"h": 127.1
},
"luminance": 0.17505
}Semantic roles & 50–950 ramp
primary
#5C7F14
secondary
#623BB4
accent
#38EF74
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79