#AFE862#AFE862
#AFE862 is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.5% C 0.174 H 128.9°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE862 |
|---|---|
| RGB | rgb(175, 232, 98) |
| HSL | hsl(86, 74%, 65%) |
| HSV | hsv(86, 58%, 91%) |
| CMYK | cmyk(24.6%, 0%, 57.8%, 9%) |
| CIE-LAB | lab(85.86, -38.84, 58.17) |
| CIE-LCH | lch(85.86, 69.94, 123.74°) |
| OKLab | oklab(86.48% -0.1093 0.1356) |
| OKLCH | oklch(86.48% 0.174 128.9) |
| XYZ | xyz(48.7401, 67.7080, 22.0539) |
| Luminance | 0.6771 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kiwi
#9CEF43
ΔE00 3.99
Spring Green (survey)
#A9F971
ΔE00 4.41
Kiwi Green
#8EE53F
ΔE00 4.43
Pale Lime
#BEFD73
ΔE00 4.43
Light Lime
#AEFD6C
ΔE00 4.75
Light Lime Green
#B9FF66
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE862 #9B62E8
analogous
#E8DE62 #AFE862 #6CE862
triadic
#AFE862 #62AFE8 #E862AF
tetradic
#AFE862 #62E8DE #9B62E8 #E8626C
square
#AFE862 #62E8DE #9B62E8 #E8626C
split-complementary
#AFE862 #626CE8 #DE62E8
monochromatic
#73B51B #94E02D #AFE862 #CAF097 #E5F8CD
Accessibility & contrast
On white
1.44
#AFE862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.54
#AFE862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE862
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE862 | 1.00 | 1.44 | 14.54 | 14.54 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#EAD56B
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #afe862; /* rgb */ color: rgb(175, 232, 98); /* oklch */ color: oklch(86.5% 0.174 128.9);
Tailwind
colors: {
custom: {
50: '#caef93',
500: '#afe862',
950: '#000000',
},
}SCSS
$custom: #afe862; $custom-light: #caef93; $custom-dark: #000000;
JSON
{
"hex": "#afe862",
"rgb": {
"r": 175,
"g": 232,
"b": 98
},
"hsl": {
"h": 85.522,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.86481,
"c": 0.17418,
"h": 128.9
},
"luminance": 0.67709
}Semantic roles & 50–950 ramp
primary
#AFE862
secondary
#6E39B5
accent
#0FD764
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F