#AFE968#AFE968
#AFE968 is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 86.8% C 0.170 H 129.6°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE968 |
|---|---|
| RGB | rgb(175, 233, 104) |
| HSL | hsl(87, 75%, 66%) |
| HSV | hsv(87, 55%, 91%) |
| CMYK | cmyk(24.9%, 0%, 55.4%, 8.6%) |
| CIE-LAB | lab(86.20, -38.74, 55.91) |
| CIE-LCH | lch(86.20, 68.02, 124.72°) |
| OKLab | oklab(86.78% -0.1085 0.1314) |
| OKLCH | oklch(86.78% 0.17 129.6) |
| XYZ | xyz(49.3164, 68.3901, 23.6964) |
| Luminance | 0.6839 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Spring Green (survey)
#A9F971
ΔE00 4.00
Pale Lime
#BEFD73
ΔE00 4.24
Kiwi
#9CEF43
ΔE00 4.31
Light Lime
#AEFD6C
ΔE00 4.51
Light Grass Green
#9AF764
ΔE00 4.68
Pistachio (survey)
#C0FA8B
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE968 #A268E9
analogous
#E9E268 #AFE968 #6EE968
triadic
#AFE968 #68AFE9 #E968AF
tetradic
#AFE968 #68E9E2 #A268E9 #E9686E
square
#AFE968 #68E9E2 #A268E9 #E9686E
split-complementary
#AFE968 #686EE9 #E268E9
monochromatic
#73BB1B #93E133 #AFE968 #CBF19D #E8F9D3
Accessibility & contrast
On white
1.43
#AFE968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.68
#AFE968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE968
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE968 | 1.00 | 1.43 | 14.68 | 14.68 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DA5B
Deuteranopia (green-blind)
#EBD671
Tritanopia (blue-blind)
#B3E0CD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #afe968; /* rgb */ color: rgb(175, 233, 104); /* oklch */ color: oklch(86.8% 0.170 129.6);
Tailwind
colors: {
custom: {
50: '#caf097',
500: '#afe968',
950: '#000000',
},
}SCSS
$custom: #afe968; $custom-light: #caf097; $custom-dark: #000000;
JSON
{
"hex": "#afe968",
"rgb": {
"r": 175,
"g": 233,
"b": 104
},
"hsl": {
"h": 86.977,
"s": 74.566,
"l": 66.078
},
"oklch": {
"l": 0.86776,
"c": 0.17038,
"h": 129.6
},
"luminance": 0.68391
}Semantic roles & 50–950 ramp
primary
#AFE968
secondary
#743BBB
accent
#0FD769
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F