#AFEF70#AFEF70
#AFEF70 is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.2% C 0.171 H 131.3°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AFEF70 |
|---|---|
| RGB | rgb(175, 239, 112) |
| HSL | hsl(90, 80%, 69%) |
| HSV | hsv(90, 53%, 94%) |
| CMYK | cmyk(26.8%, 0%, 53.1%, 6.3%) |
| CIE-LAB | lab(87.98, -40.63, 54.38) |
| CIE-LCH | lch(87.98, 67.88, 126.77°) |
| OKLab | oklab(88.24% -0.1131 0.1287) |
| OKLCH | oklch(88.24% 0.171 131.3) |
| XYZ | xyz(51.4697, 72.0154, 26.5147) |
| Luminance | 0.7202 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Spring Green (survey)
#A9F971
ΔE00 2.58
Pale Lime
#BEFD73
ΔE00 3.28
Light Lime
#AEFD6C
ΔE00 3.30
Pistachio (survey)
#C0FA8B
ΔE00 3.47
Light Pea Green
#C4FE82
ΔE00 3.58
Light Grass Green
#9AF764
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFEF70 #B070EF
analogous
#EFEF70 #AFEF70 #70EF71
triadic
#AFEF70 #70AFEF #EF70AF
tetradic
#AFEF70 #70EFEF #B070EF #EF7170
square
#AFEF70 #70EFEF #B070EF #EF7170
split-complementary
#AFEF70 #7170EF #EF70EF
monochromatic
#72CE17 #90E939 #AFEF70 #CEF5A7 #EDFBDE
Accessibility & contrast
On white
1.36
#AFEF70 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.40
#AFEF70 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFEF70
15.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFEF70 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFEF70 | 1.00 | 1.36 | 15.40 | 15.40 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E064
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#B2E6D3
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #afef70; /* rgb */ color: rgb(175, 239, 112); /* oklch */ color: oklch(88.2% 0.171 131.3);
Tailwind
colors: {
custom: {
50: '#caf49c',
500: '#afef70',
950: '#000000',
},
}SCSS
$custom: #afef70; $custom-light: #caf49c; $custom-dark: #000000;
JSON
{
"hex": "#afef70",
"rgb": {
"r": 175,
"g": 239,
"b": 112
},
"hsl": {
"h": 90.236,
"s": 79.874,
"l": 68.824
},
"oklch": {
"l": 0.8824,
"c": 0.17136,
"h": 131.3
},
"luminance": 0.72017
}Semantic roles & 50–950 ramp
primary
#AFEF70
secondary
#823BC8
accent
#09DC74
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F