#5A7E1E#5A7E1E
#5A7E1E is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.128 H 128.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7E1E |
|---|---|
| RGB | rgb(90, 126, 30) |
| HSL | hsl(83, 62%, 31%) |
| HSV | hsv(83, 76%, 49%) |
| CMYK | cmyk(28.6%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(48.50, -27.79, 45.17) |
| CIE-LCH | lch(48.50, 53.04, 121.60°) |
| OKLab | oklab(54.66% -0.0795 0.1008) |
| OKLCH | oklch(54.66% 0.128 128.3) |
| XYZ | xyz(11.9116, 17.1888, 3.9182) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.67
Dirty Green
#667E2C
ΔE00 2.87
Swamp
#698339
ΔE00 4.39
Mossy Green
#638B27
ΔE00 4.80
Sap Green
#5C8B15
ΔE00 4.93
Olive Green
#677A04
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7E1E #421E7E
analogous
#7E721E #5A7E1E #2A7E1E
triadic
#5A7E1E #1E5A7E #7E1E5A
tetradic
#5A7E1E #1E7E72 #421E7E #7E1E2A
square
#5A7E1E #1E7E72 #421E7E #7E1E2A
split-complementary
#5A7E1E #1E2A7E #721E7E
monochromatic
#131B06 #374D12 #5A7E1E #7DAF2A #9DD244
Accessibility & contrast
On white
4.73
#5A7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5A7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A7E1E
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A7E1E | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750B
Deuteranopia (green-blind)
#807227
Tritanopia (blue-blind)
#5D786C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a7e1e; /* rgb */ color: rgb(90, 126, 30); /* oklch */ color: oklch(54.7% 0.128 128.3);
Tailwind
colors: {
custom: {
50: '#8ca361',
500: '#5a7e1e',
950: '#000000',
},
}SCSS
$custom: #5a7e1e; $custom-light: #8ca361; $custom-dark: #000000;
JSON
{
"hex": "#5a7e1e",
"rgb": {
"r": 90,
"g": 126,
"b": 30
},
"hsl": {
"h": 82.5,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.54661,
"c": 0.12839,
"h": 128.3
},
"luminance": 0.17189
}Semantic roles & 50–950 ramp
primary
#5A7E1E
secondary
#6F47B1
accent
#43E580
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A