#5A9E2F#5A9E2F
#5A9E2F is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.159 H 135.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9E2F |
|---|---|
| RGB | rgb(90, 158, 47) |
| HSL | hsl(97, 54%, 40%) |
| HSV | hsv(97, 70%, 62%) |
| CMYK | cmyk(43%, 0%, 70.3%, 38%) |
| CIE-LAB | lab(58.82, -41.02, 48.97) |
| CIE-LCH | lch(58.82, 63.89, 129.95°) |
| OKLab | oklab(63.12% -0.1141 0.1113) |
| OKLCH | oklch(63.12% 0.159 135.7) |
| XYZ | xyz(16.9560, 26.8317, 6.9744) |
| Luminance | 0.2683 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.53
Grassy Green
#419C03
ΔE00 3.56
Grass Green
#3F9B0B
ΔE00 3.57
Grass
#5CAC2D
ΔE00 4.32
Flat Green
#699D4C
ΔE00 4.33
Mid Green
#50A747
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9E2F #732F9E
analogous
#919E2F #5A9E2F #2F9E3C
triadic
#5A9E2F #2F5A9E #9E2F5A
tetradic
#5A9E2F #2F919E #732F9E #9E3C2F
square
#5A9E2F #2F919E #732F9E #9E3C2F
split-complementary
#5A9E2F #3C2F9E #9E2F91
monochromatic
#244013 #3F6F21 #5A9E2F #76C743 #99D572
Accessibility & contrast
On white
3.30
#5A9E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#5A9E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9E2F
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9E2F | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#589888
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a9e2f; /* rgb */ color: rgb(90, 158, 47); /* oklch */ color: oklch(63.1% 0.159 135.7);
Tailwind
colors: {
custom: {
50: '#8ebb6e',
500: '#5a9e2f',
950: '#000000',
},
}SCSS
$custom: #5a9e2f; $custom-light: #8ebb6e; $custom-dark: #000000;
JSON
{
"hex": "#5a9e2f",
"rgb": {
"r": 90,
"g": 158,
"b": 47
},
"hsl": {
"h": 96.757,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.63122,
"c": 0.15944,
"h": 135.7
},
"luminance": 0.26833
}Semantic roles & 50–950 ramp
primary
#5A9E2F
secondary
#9E6CBD
accent
#4ADEA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A