#5FAF2F#5FAF2F
#5FAF2F is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.8% C 0.178 H 136.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF2F |
|---|---|
| RGB | rgb(95, 175, 47) |
| HSL | hsl(98, 58%, 44%) |
| HSV | hsv(98, 73%, 69%) |
| CMYK | cmyk(45.7%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(64.40, -46.40, 54.74) |
| CIE-LCH | lch(64.40, 71.76, 130.28°) |
| OKLab | oklab(67.76% -0.129 0.1233) |
| OKLCH | oklch(67.76% 0.178 136.3) |
| XYZ | xyz(20.5618, 33.2968, 8.0322) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.91
Nasty Green
#70B23F
ΔE00 2.39
Kermit Green
#5CB200
ΔE00 2.97
Leaf
#71AA34
ΔE00 3.02
Leaf Green
#5CA904
ΔE00 3.13
Leafy Green
#51B73B
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF2F #7F2FAF
analogous
#9FAF2F #5FAF2F #2FAF3F
triadic
#5FAF2F #2F5FAF #AF2F5F
tetradic
#5FAF2F #2F9FAF #7F2FAF #AF3F2F
square
#5FAF2F #2F9FAF #7F2FAF #AF3F2F
split-complementary
#5FAF2F #3F2FAF #AF2F9F
monochromatic
#2B4F15 #457F22 #5FAF2F #7DCF4C #A0DC7C
Accessibility & contrast
On white
2.74
#5FAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#5FAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF2F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF2F | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#AA9A3C
Tritanopia (blue-blind)
#5BA996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf2f; /* rgb */ color: rgb(95, 175, 47); /* oklch */ color: oklch(67.8% 0.178 136.3);
Tailwind
colors: {
custom: {
50: '#93c770',
500: '#5faf2f',
950: '#000000',
},
}SCSS
$custom: #5faf2f; $custom-light: #93c770; $custom-dark: #000000;
JSON
{
"hex": "#5faf2f",
"rgb": {
"r": 95,
"g": 175,
"b": 47
},
"hsl": {
"h": 97.5,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.67761,
"c": 0.17848,
"h": 136.3
},
"luminance": 0.33298
}Semantic roles & 50–950 ramp
primary
#5FAF2F
secondary
#A775C4
accent
#47E1A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B