#5FAF2E#5FAF2E
#5FAF2E is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.8% C 0.179 H 136.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAF2E |
|---|---|
| RGB | rgb(95, 175, 46) |
| HSL | hsl(97, 58%, 43%) |
| HSV | hsv(97, 74%, 69%) |
| CMYK | cmyk(45.7%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(64.39, -46.47, 55.10) |
| CIE-LCH | lch(64.39, 72.08, 130.14°) |
| OKLab | oklab(67.75% -0.1293 0.1239) |
| OKLCH | oklch(67.75% 0.179 136.2) |
| XYZ | xyz(20.5419, 33.2888, 7.9272) |
| Luminance | 0.3329 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.93
Nasty Green
#70B23F
ΔE00 2.42
Kermit Green
#5CB200
ΔE00 2.87
Leaf
#71AA34
ΔE00 3.01
Leaf Green
#5CA904
ΔE00 3.04
Leafy Green
#51B73B
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAF2E #7E2EAF
analogous
#9FAF2E #5FAF2E #2EAF3D
triadic
#5FAF2E #2E5FAF #AF2E5F
tetradic
#5FAF2E #2E9FAF #7E2EAF #AF3D2E
square
#5FAF2E #2E9FAF #7E2EAF #AF3D2E
split-complementary
#5FAF2E #3D2EAF #AF2E9F
monochromatic
#2A4E15 #457F21 #5FAF2E #7DD04B #A0DC7B
Accessibility & contrast
On white
2.74
#5FAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#5FAF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAF2E
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAF2E | 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)
#B5A015
Deuteranopia (green-blind)
#AB9A3B
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5faf2e; /* rgb */ color: rgb(95, 175, 46); /* oklch */ color: oklch(67.8% 0.179 136.2);
Tailwind
colors: {
custom: {
50: '#93c76f',
500: '#5faf2e',
950: '#000000',
},
}SCSS
$custom: #5faf2e; $custom-light: #93c76f; $custom-dark: #000000;
JSON
{
"hex": "#5faf2e",
"rgb": {
"r": 95,
"g": 175,
"b": 46
},
"hsl": {
"h": 97.209,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.67754,
"c": 0.17908,
"h": 136.2
},
"luminance": 0.3329
}Semantic roles & 50–950 ramp
primary
#5FAF2E
secondary
#A674C5
accent
#46E2A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B