#5A7E1D#5A7E1D
#5A7E1D is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.129 H 128.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7E1D |
|---|---|
| RGB | rgb(90, 126, 29) |
| HSL | hsl(82, 63%, 30%) |
| HSV | hsv(82, 77%, 49%) |
| CMYK | cmyk(28.6%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(48.49, -27.85, 45.54) |
| CIE-LCH | lch(48.49, 53.38, 121.45°) |
| OKLab | oklab(54.65% -0.0798 0.1014) |
| OKLCH | oklch(54.65% 0.129 128.2) |
| XYZ | xyz(11.8991, 17.1838, 3.8520) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.58
Dirty Green
#667E2C
ΔE00 2.91
Swamp
#698339
ΔE00 4.46
Mossy Green
#638B27
ΔE00 4.80
Sap Green
#5C8B15
ΔE00 4.90
Olive Green
#677A04
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7E1D #411D7E
analogous
#7E711D #5A7E1D #297E1D
triadic
#5A7E1D #1D5A7E #7E1D5A
tetradic
#5A7E1D #1D7E71 #411D7E #7E1D29
square
#5A7E1D #1D7E71 #411D7E #7E1D29
split-complementary
#5A7E1D #1D297E #711D7E
monochromatic
#131B06 #364C12 #5A7E1D #7EB028 #9DD342
Accessibility & contrast
On white
4.73
#5A7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5A7E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A7E1D
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A7E1D | 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)
#857508
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#5D786B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a7e1d; /* rgb */ color: rgb(90, 126, 29); /* oklch */ color: oklch(54.7% 0.129 128.2);
Tailwind
colors: {
custom: {
50: '#8ca361',
500: '#5a7e1d',
950: '#000000',
},
}SCSS
$custom: #5a7e1d; $custom-light: #8ca361; $custom-dark: #000000;
JSON
{
"hex": "#5a7e1d",
"rgb": {
"r": 90,
"g": 126,
"b": 29
},
"hsl": {
"h": 82.268,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.54654,
"c": 0.12901,
"h": 128.2
},
"luminance": 0.17184
}Semantic roles & 50–950 ramp
primary
#5A7E1D
secondary
#6D45B1
accent
#42E67F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79