#5FAF2A#5FAF2A
#5FAF2A is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.7% C 0.181 H 135.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF2A |
|---|---|
| RGB | rgb(95, 175, 42) |
| HSL | hsl(96, 61%, 43%) |
| HSV | hsv(96, 76%, 69%) |
| CMYK | cmyk(45.7%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(64.37, -46.73, 56.47) |
| CIE-LCH | lch(64.37, 73.30, 129.61°) |
| OKLab | oklab(67.73% -0.1302 0.1262) |
| OKLCH | oklch(67.73% 0.181 135.9) |
| XYZ | xyz(20.4667, 33.2587, 7.5312) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.08
Kermit Green
#5CB200
ΔE00 2.49
Nasty Green
#70B23F
ΔE00 2.59
Leaf Green
#5CA904
ΔE00 2.72
Leaf
#71AA34
ΔE00 3.00
Leafy Green
#51B73B
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF2A #7A2AAF
analogous
#A2AF2A #5FAF2A #2AAF37
triadic
#5FAF2A #2A5FAF #AF2A5F
tetradic
#5FAF2A #2AA2AF #7A2AAF #AF372A
square
#5FAF2A #2AA2AF #7A2AAF #AF372A
split-complementary
#5FAF2A #372AAF #AF2AA2
monochromatic
#294C12 #447E1E #5FAF2A #7DD244 #9FDE75
Accessibility & contrast
On white
2.74
#5FAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#5FAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF2A
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF2A | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#AB9A38
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf2a; /* rgb */ color: rgb(95, 175, 42); /* oklch */ color: oklch(67.7% 0.181 135.9);
Tailwind
colors: {
custom: {
50: '#94c76d',
500: '#5faf2a',
950: '#000000',
},
}SCSS
$custom: #5faf2a; $custom-light: #94c76d; $custom-dark: #000000;
JSON
{
"hex": "#5faf2a",
"rgb": {
"r": 95,
"g": 175,
"b": 42
},
"hsl": {
"h": 96.09,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.67726,
"c": 0.18137,
"h": 135.9
},
"luminance": 0.3326
}Semantic roles & 50–950 ramp
primary
#5FAF2A
secondary
#A36FC6
accent
#43E4A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B