#AFEF71#AFEF71
#AFEF71 is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.3% C 0.170 H 131.4°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFEF71 |
|---|---|
| RGB | rgb(175, 239, 113) |
| HSL | hsl(90, 80%, 69%) |
| HSV | hsv(90, 53%, 94%) |
| CMYK | cmyk(26.8%, 0%, 52.7%, 6.3%) |
| CIE-LAB | lab(87.99, -40.53, 53.93) |
| CIE-LCH | lch(87.99, 67.46, 126.92°) |
| OKLab | oklab(88.25% -0.1128 0.1278) |
| OKLCH | oklch(88.25% 0.17 131.4) |
| XYZ | xyz(51.5257, 72.0378, 26.8095) |
| Luminance | 0.7204 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Spring Green (survey)
#A9F971
ΔE00 2.58
Pale Lime
#BEFD73
ΔE00 3.33
Light Lime
#AEFD6C
ΔE00 3.34
Pistachio (survey)
#C0FA8B
ΔE00 3.39
Light Pea Green
#C4FE82
ΔE00 3.57
Light Grass Green
#9AF764
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFEF71 #B171EF
analogous
#EEEF71 #AFEF71 #71EF72
triadic
#AFEF71 #71AFEF #EF71AF
tetradic
#AFEF71 #71EEEF #B171EF #EF7271
square
#AFEF71 #71EEEF #B171EF #EF7271
split-complementary
#AFEF71 #7271EF #EF71EE
monochromatic
#71CE17 #90E93A #AFEF71 #CEF5A8 #EDFBDF
Accessibility & contrast
On white
1.36
#AFEF71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.41
#AFEF71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFEF71
15.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFEF71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFEF71 | 1.00 | 1.36 | 15.41 | 15.41 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E065
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#B2E6D3
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #afef71; /* rgb */ color: rgb(175, 239, 113); /* oklch */ color: oklch(88.3% 0.170 131.4);
Tailwind
colors: {
custom: {
50: '#caf49d',
500: '#afef71',
950: '#000000',
},
}SCSS
$custom: #afef71; $custom-light: #caf49d; $custom-dark: #000000;
JSON
{
"hex": "#afef71",
"rgb": {
"r": 175,
"g": 239,
"b": 113
},
"hsl": {
"h": 90.476,
"s": 79.747,
"l": 69.02
},
"oklch": {
"l": 0.88252,
"c": 0.17047,
"h": 131.4
},
"luminance": 0.72039
}Semantic roles & 50–950 ramp
primary
#AFEF71
secondary
#833CC8
accent
#09DC74
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F