#5A7E13#5A7E13
#5A7E13 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.134 H 127.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7E13 |
|---|---|
| RGB | rgb(90, 126, 19) |
| HSL | hsl(80, 74%, 28%) |
| HSV | hsv(80, 85%, 49%) |
| CMYK | cmyk(28.6%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(48.44, -28.36, 48.72) |
| CIE-LCH | lch(48.44, 56.37, 120.20°) |
| OKLab | oklab(54.6% -0.0819 0.1064) |
| OKLCH | oklch(54.6% 0.134 127.6) |
| XYZ | xyz(11.7949, 17.1421, 3.3033) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.95
Dirty Green
#667E2C
ΔE00 3.44
Olive Green
#677A04
ΔE00 4.30
Sap Green
#5C8B15
ΔE00 4.74
Mossy Green
#638B27
ΔE00 4.95
Swamp
#698339
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7E13 #37137E
analogous
#7E6C13 #5A7E13 #247E13
triadic
#5A7E13 #135A7E #7E135A
tetradic
#5A7E13 #137E6C #37137E #7E1324
square
#5A7E13 #137E6C #37137E #7E1324
split-complementary
#5A7E13 #13247E #6C137E
monochromatic
#131B04 #34490B #5A7E13 #80B31B #A3DF2C
Accessibility & contrast
On white
4.74
#5A7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5A7E13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A7E13
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7E13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A7E13 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#5E786B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a7e13; /* rgb */ color: rgb(90, 126, 19); /* oklch */ color: oklch(54.6% 0.134 127.6);
Tailwind
colors: {
custom: {
50: '#8da35c',
500: '#5a7e13',
950: '#000000',
},
}SCSS
$custom: #5a7e13; $custom-light: #8da35c; $custom-dark: #000000;
JSON
{
"hex": "#5a7e13",
"rgb": {
"r": 90,
"g": 126,
"b": 19
},
"hsl": {
"h": 80.187,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.54595,
"c": 0.13429,
"h": 127.6
},
"luminance": 0.17142
}Semantic roles & 50–950 ramp
primary
#5A7E13
secondary
#6239B4
accent
#37F076
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79