#5EAF2A#5EAF2A
#5EAF2A is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.182 H 136.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5EAF2A |
|---|---|
| RGB | rgb(94, 175, 42) |
| HSL | hsl(97, 61%, 43%) |
| HSV | hsv(97, 76%, 69%) |
| CMYK | cmyk(46.3%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(64.33, -47.05, 56.41) |
| CIE-LCH | lch(64.33, 73.46, 129.83°) |
| OKLab | oklab(67.68% -0.131 0.1261) |
| OKLCH | oklch(67.68% 0.182 136.1) |
| XYZ | xyz(20.3634, 33.2055, 7.5263) |
| Luminance | 0.3321 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.02
Kermit Green
#5CB200
ΔE00 2.53
Nasty Green
#70B23F
ΔE00 2.66
Leaf Green
#5CA904
ΔE00 2.76
Leaf
#71AA34
ΔE00 3.10
Leafy Green
#51B73B
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5EAF2A #7B2AAF
analogous
#A1AF2A #5EAF2A #2AAF38
triadic
#5EAF2A #2A5EAF #AF2A5E
tetradic
#5EAF2A #2AA1AF #7B2AAF #AF382A
square
#5EAF2A #2AA1AF #7B2AAF #AF382A
split-complementary
#5EAF2A #382AAF #AF2AA1
monochromatic
#294C12 #437E1E #5EAF2A #7CD244 #9EDE75
Accessibility & contrast
On white
2.75
#5EAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#5EAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5EAF2A
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5EAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5EAF2A | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#AB9938
Tritanopia (blue-blind)
#5BA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5eaf2a; /* rgb */ color: rgb(94, 175, 42); /* oklch */ color: oklch(67.7% 0.182 136.1);
Tailwind
colors: {
custom: {
50: '#93c76d',
500: '#5eaf2a',
950: '#000000',
},
}SCSS
$custom: #5eaf2a; $custom-light: #93c76d; $custom-dark: #000000;
JSON
{
"hex": "#5eaf2a",
"rgb": {
"r": 94,
"g": 175,
"b": 42
},
"hsl": {
"h": 96.541,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.67679,
"c": 0.18187,
"h": 136.1
},
"luminance": 0.33207
}Semantic roles & 50–950 ramp
primary
#5EAF2A
secondary
#A46FC6
accent
#43E4A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B