#AFE162#AFE162
#AFE162 is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 84.9% C 0.165 H 127.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE162 |
|---|---|
| RGB | rgb(175, 225, 98) |
| HSL | hsl(84, 68%, 63%) |
| HSV | hsv(84, 56%, 88%) |
| CMYK | cmyk(22.2%, 0%, 56.4%, 11.8%) |
| CIE-LAB | lab(83.89, -35.69, 55.91) |
| CIE-LCH | lch(83.89, 66.33, 122.55°) |
| OKLab | oklab(84.88% -0.1005 0.1308) |
| OKLCH | oklch(84.88% 0.165 127.5) |
| XYZ | xyz(46.8089, 63.8454, 21.4102) |
| Luminance | 0.6385 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kiwi Green
#8EE53F
ΔE00 5.12
Kiwi
#9CEF43
ΔE00 5.32
Yellowgreen
#9ACD32
ΔE00 5.86
Spring Green (survey)
#A9F971
ΔE00 5.95
Pale Lime
#BEFD73
ΔE00 5.96
Pale Olive Green
#B1D27B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE162 #9462E1
analogous
#E1D362 #AFE162 #6FE162
triadic
#AFE162 #62AFE1 #E162AF
tetradic
#AFE162 #62E1D3 #9462E1 #E1626F
square
#AFE162 #62E1D3 #9462E1 #E1626F
split-complementary
#AFE162 #626FE1 #D362E1
monochromatic
#73A820 #95D72F #AFE162 #C9EB95 #E3F5C9
Accessibility & contrast
On white
1.53
#AFE162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#AFE162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE162
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE162 | 1.00 | 1.53 | 13.77 | 13.77 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD355
Deuteranopia (green-blind)
#E4D06B
Tritanopia (blue-blind)
#B4D8C5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #afe162; /* rgb */ color: rgb(175, 225, 98); /* oklch */ color: oklch(84.9% 0.165 127.5);
Tailwind
colors: {
custom: {
50: '#caea92',
500: '#afe162',
950: '#000000',
},
}SCSS
$custom: #afe162; $custom-light: #caea92; $custom-dark: #000000;
JSON
{
"hex": "#afe162",
"rgb": {
"r": 175,
"g": 225,
"b": 98
},
"hsl": {
"h": 83.622,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.84883,
"c": 0.16498,
"h": 127.5
},
"luminance": 0.63846
}Semantic roles & 50–950 ramp
primary
#AFE162
secondary
#683DAB
accent
#16D05F
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F