#5C7D1A#5C7D1A
#5C7D1A is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.128 H 126.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5C7D1A |
|---|---|
| RGB | rgb(92, 125, 26) |
| HSL | hsl(80, 66%, 30%) |
| HSV | hsv(80, 79%, 49%) |
| CMYK | cmyk(26.4%, 0%, 79.2%, 51%) |
| CIE-LAB | lab(48.28, -26.70, 46.44) |
| CIE-LCH | lch(48.28, 53.57, 119.90°) |
| OKLab | oklab(54.51% -0.077 0.1027) |
| OKLCH | oklch(54.51% 0.128 126.9) |
| XYZ | xyz(11.9338, 17.0169, 3.6329) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.73
Avocado
#568203
ΔE00 2.73
Olive Green
#677A04
ΔE00 4.14
Swamp
#698339
ΔE00 4.66
Murky Green
#6C7A0E
ΔE00 5.02
Mossy Green
#638B27
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C7D1A #3B1A7D
analogous
#7D6D1A #5C7D1A #2B7D1A
triadic
#5C7D1A #1A5C7D #7D1A5C
tetradic
#5C7D1A #1A7D6D #3B1A7D #7D1A2B
square
#5C7D1A #1A7D6D #3B1A7D #7D1A2B
split-complementary
#5C7D1A #1A2B7D #6D1A7D
monochromatic
#131905 #374A0F #5C7D1A #81B025 #A3D63B
Accessibility & contrast
On white
4.77
#5C7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5C7D1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C7D1A
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C7D1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C7D1A | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#60776A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5c7d1a; /* rgb */ color: rgb(92, 125, 26); /* oklch */ color: oklch(54.5% 0.128 126.9);
Tailwind
colors: {
custom: {
50: '#8ea25f',
500: '#5c7d1a',
950: '#000000',
},
}SCSS
$custom: #5c7d1a; $custom-light: #8ea25f; $custom-dark: #000000;
JSON
{
"hex": "#5c7d1a",
"rgb": {
"r": 92,
"g": 125,
"b": 26
},
"hsl": {
"h": 80,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.54511,
"c": 0.12841,
"h": 126.9
},
"luminance": 0.17017
}Semantic roles & 50–950 ramp
primary
#5C7D1A
secondary
#6742B1
accent
#3FE978
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0D0F05
muted
#7D7F79