#AFE268#AFE268
#AFE268 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.2% C 0.161 H 128.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE268 |
|---|---|
| RGB | rgb(175, 226, 104) |
| HSL | hsl(85, 68%, 65%) |
| HSV | hsv(85, 54%, 89%) |
| CMYK | cmyk(22.6%, 0%, 54%, 11.4%) |
| CIE-LAB | lab(84.23, -35.58, 53.61) |
| CIE-LCH | lch(84.23, 64.35, 123.57°) |
| OKLab | oklab(85.18% -0.0997 0.1264) |
| OKLCH | oklch(85.18% 0.161 128.3) |
| XYZ | xyz(47.3740, 64.5053, 23.0489) |
| Luminance | 0.6451 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kiwi Green
#8EE53F
ΔE00 5.34
Kiwi
#9CEF43
ΔE00 5.53
Spring Green (survey)
#A9F971
ΔE00 5.61
Pistachio (survey)
#C0FA8B
ΔE00 5.71
Pale Olive Green
#B1D27B
ΔE00 5.73
Pale Lime
#BEFD73
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE268 #9B68E2
analogous
#E2D868 #AFE268 #72E268
triadic
#AFE268 #68AFE2 #E268AF
tetradic
#AFE268 #68E2D8 #9B68E2 #E26872
square
#AFE268 #68E2D8 #9B68E2 #E26872
split-complementary
#AFE268 #6872E2 #D868E2
monochromatic
#73AE21 #94D835 #AFE268 #CAEC9B #E5F6CF
Accessibility & contrast
On white
1.51
#AFE268 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.90
#AFE268 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE268
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE268 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE268 | 1.00 | 1.51 | 13.90 | 13.90 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD45C
Deuteranopia (green-blind)
#E5D170
Tritanopia (blue-blind)
#B4D9C7
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #afe268; /* rgb */ color: rgb(175, 226, 104); /* oklch */ color: oklch(85.2% 0.161 128.3);
Tailwind
colors: {
custom: {
50: '#c9eb96',
500: '#afe268',
950: '#000000',
},
}SCSS
$custom: #afe268; $custom-light: #c9eb96; $custom-dark: #000000;
JSON
{
"hex": "#afe268",
"rgb": {
"r": 175,
"g": 226,
"b": 104
},
"hsl": {
"h": 85.082,
"s": 67.778,
"l": 64.706
},
"oklch": {
"l": 0.8518,
"c": 0.16102,
"h": 128.3
},
"luminance": 0.64506
}Semantic roles & 50–950 ramp
primary
#AFE268
secondary
#6E3FB0
accent
#16D064
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F