#AFE276#AFE276
#AFE276 is a very light, vivid yellow-green. Relative luminance 0.648; OKLCH L 85.4% C 0.148 H 129.8°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE276 |
|---|---|
| RGB | rgb(175, 226, 118) |
| HSL | hsl(88, 65%, 67%) |
| HSV | hsv(88, 48%, 89%) |
| CMYK | cmyk(22.6%, 0%, 47.8%, 11.4%) |
| CIE-LAB | lab(84.39, -34.13, 47.26) |
| CIE-LCH | lch(84.39, 58.30, 125.84°) |
| OKLab | oklab(85.36% -0.0947 0.1135) |
| OKLCH | oklch(85.36% 0.148 129.8) |
| XYZ | xyz(48.1450, 64.8137, 27.1098) |
| Luminance | 0.6482 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 4.71
Pistachio (survey)
#C0FA8B
ΔE00 5.16
Spring Green (survey)
#A9F971
ΔE00 5.84
Celery
#C1FD95
ΔE00 6.00
Light Pea Green
#C4FE82
ΔE00 6.08
Light Yellowish Green
#C2FF89
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE276 #A976E2
analogous
#E2DF76 #AFE276 #79E276
triadic
#AFE276 #76AFE2 #E276AF
tetradic
#AFE276 #76E2DF #A976E2 #E27679
square
#AFE276 #76E2DF #A976E2 #E27679
split-complementary
#AFE276 #7679E2 #DF76E2
monochromatic
#73B727 #92D743 #AFE276 #CCEDA9 #EAF7DB
Accessibility & contrast
On white
1.50
#AFE276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.96
#AFE276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE276
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE276 | 1.00 | 1.50 | 13.96 | 13.96 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD56D
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#B2DAC9
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #afe276; /* rgb */ color: rgb(175, 226, 118); /* oklch */ color: oklch(85.4% 0.148 129.8);
Tailwind
colors: {
custom: {
50: '#c9eb9f',
500: '#afe276',
950: '#000000',
},
}SCSS
$custom: #afe276; $custom-light: #c9eb9f; $custom-dark: #000000;
JSON
{
"hex": "#afe276",
"rgb": {
"r": 175,
"g": 226,
"b": 118
},
"hsl": {
"h": 88.333,
"s": 65.06,
"l": 67.451
},
"oklch": {
"l": 0.8536,
"c": 0.14781,
"h": 129.8
},
"luminance": 0.64815
}Semantic roles & 50–950 ramp
primary
#AFE276
secondary
#7B45B8
accent
#19CD6E
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480