#AFE952#AFE952
#AFE952 is a very light, vivid yellow-green. Relative luminance 0.680; OKLCH L 86.6% C 0.188 H 127.9°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE952 |
|---|---|
| RGB | rgb(175, 233, 82) |
| HSL | hsl(83, 77%, 62%) |
| HSV | hsv(83, 65%, 91%) |
| CMYK | cmyk(24.9%, 0%, 64.8%, 8.6%) |
| CIE-LAB | lab(86.01, -40.57, 64.98) |
| CIE-LCH | lch(86.01, 76.61, 121.98°) |
| OKLab | oklab(86.56% -0.1154 0.1483) |
| OKLCH | oklch(86.56% 0.188 127.9) |
| XYZ | xyz(48.3410, 68.0000, 18.5595) |
| Luminance | 0.6800 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kiwi
#9CEF43
ΔE00 3.16
Kiwi Green
#8EE53F
ΔE00 4.10
Pear
#CBF85F
ΔE00 4.37
Light Lime Green
#B9FF66
ΔE00 4.69
Pale Lime
#BEFD73
ΔE00 4.72
Pale Lime Green
#B1FF65
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE952 #8C52E9
analogous
#E9D752 #AFE952 #64E952
triadic
#AFE952 #52AFE9 #E952AF
tetradic
#AFE952 #52E9D7 #8C52E9 #E95264
square
#AFE952 #52E9D7 #8C52E9 #E95264
split-complementary
#AFE952 #5264E9 #D752E9
monochromatic
#72AB16 #96E11D #AFE952 #C8F088 #E1F7BF
Accessibility & contrast
On white
1.44
#AFE952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.60
#AFE952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE952
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE952 | 1.00 | 1.44 | 14.60 | 14.60 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DA3E
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#B5DFCA
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #afe952; /* rgb */ color: rgb(175, 233, 82); /* oklch */ color: oklch(86.6% 0.188 127.9);
Tailwind
colors: {
custom: {
50: '#cbf089',
500: '#afe952',
950: '#000000',
},
}SCSS
$custom: #afe952; $custom-light: #cbf089; $custom-dark: #000000;
JSON
{
"hex": "#afe952",
"rgb": {
"r": 175,
"g": 233,
"b": 82
},
"hsl": {
"h": 83.046,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.86555,
"c": 0.18786,
"h": 127.9
},
"luminance": 0.68001
}Semantic roles & 50–950 ramp
primary
#AFE952
secondary
#6233AC
accent
#0CDA5B
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F