#AFD471#AFD471
#AFD471 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.1% C 0.133 H 126.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AFD471 |
|---|---|
| RGB | rgb(175, 212, 113) |
| HSL | hsl(82, 54%, 64%) |
| HSV | hsv(82, 47%, 83%) |
| CMYK | cmyk(17.5%, 0%, 46.7%, 16.9%) |
| CIE-LAB | lab(80.40, -28.13, 44.78) |
| CIE-LCH | lch(80.40, 52.88, 122.14°) |
| OKLab | oklab(82.13% -0.0783 0.1077) |
| OKLCH | oklch(82.13% 0.133 126) |
| XYZ | xyz(44.2031, 57.3927, 24.3687) |
| Luminance | 0.5739 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 1.87
Light Moss Green
#A6C875
ΔE00 3.67
Pale Olive
#B9CC81
ΔE00 4.76
Greenish Tan
#BCCB7A
ΔE00 4.94
Light Olive Green
#A4BE5C
ΔE00 5.65
Light Olive
#ACBF69
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFD471 #9671D4
analogous
#D4C771 #AFD471 #7DD471
triadic
#AFD471 #71AFD4 #D471AF
tetradic
#AFD471 #71D4C7 #9671D4 #D4717D
square
#AFD471 #71D4C7 #9671D4 #D4717D
split-complementary
#AFD471 #717DD4 #C771D4
monochromatic
#739C2F #95C642 #AFD471 #C9E2A0 #E4F0CF
Accessibility & contrast
On white
1.68
#AFD471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.48
#AFD471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFD471
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFD471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFD471 | 1.00 | 1.68 | 12.48 | 12.48 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#B4CCBD
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #afd471; /* rgb */ color: rgb(175, 212, 113); /* oklch */ color: oklch(82.1% 0.133 126.0);
Tailwind
colors: {
custom: {
50: '#c8e19c',
500: '#afd471',
950: '#000000',
},
}SCSS
$custom: #afd471; $custom-light: #c8e19c; $custom-dark: #000000;
JSON
{
"hex": "#afd471",
"rgb": {
"r": 175,
"g": 212,
"b": 113
},
"hsl": {
"h": 82.424,
"s": 53.514,
"l": 63.725
},
"oklch": {
"l": 0.82126,
"c": 0.13312,
"h": 126
},
"luminance": 0.57393
}Semantic roles & 50–950 ramp
primary
#AFD471
secondary
#6A49A0
accent
#25C15F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F