#5C7F15#5C7F15
#5C7F15 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.0% C 0.134 H 127.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7F15 |
|---|---|
| RGB | rgb(92, 127, 21) |
| HSL | hsl(80, 72%, 29%) |
| HSV | hsv(80, 83%, 50%) |
| CMYK | cmyk(27.6%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(48.89, -27.92, 48.60) |
| CIE-LCH | lch(48.89, 56.05, 119.88°) |
| OKLab | oklab(55% -0.0807 0.1064) |
| OKLCH | oklch(55% 0.134 127.2) |
| XYZ | xyz(12.1384, 17.5079, 3.4492) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.90
Dirty Green
#667E2C
ΔE00 3.21
Olive Green
#677A04
ΔE00 4.20
Sap Green
#5C8B15
ΔE00 4.41
Mossy Green
#638B27
ΔE00 4.54
Swamp
#698339
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7F15 #38157F
analogous
#7F6D15 #5C7F15 #277F15
triadic
#5C7F15 #155C7F #7F155C
tetradic
#5C7F15 #157F6D #38157F #7F1527
square
#5C7F15 #157F6D #38157F #7F1527
split-complementary
#5C7F15 #15277F #6D157F
monochromatic
#131A04 #364A0C #5C7F15 #82B41E #A4DD31
Accessibility & contrast
On white
4.67
#5C7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#5C7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5C7F15
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C7F15 | 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)
#817421
Tritanopia (blue-blind)
#60796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5c7f15; /* rgb */ color: rgb(92, 127, 21); /* oklch */ color: oklch(55.0% 0.134 127.2);
Tailwind
colors: {
custom: {
50: '#8ea45d',
500: '#5c7f15',
950: '#000000',
},
}SCSS
$custom: #5c7f15; $custom-light: #8ea45d; $custom-dark: #000000;
JSON
{
"hex": "#5c7f15",
"rgb": {
"r": 92,
"g": 127,
"b": 21
},
"hsl": {
"h": 79.811,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.55001,
"c": 0.13358,
"h": 127.2
},
"luminance": 0.17508
}Semantic roles & 50–950 ramp
primary
#5C7F15
secondary
#633CB4
accent
#39EE75
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79