#AFD992#AFD992
#AFD992 is a very light, moderate yellow-green. Relative luminance 0.608; OKLCH L 83.8% C 0.105 H 133.1°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFD992 |
|---|---|
| RGB | rgb(175, 217, 146) |
| HSL | hsl(95, 48%, 71%) |
| HSV | hsv(95, 33%, 85%) |
| CMYK | cmyk(19.4%, 0%, 32.7%, 14.9%) |
| CIE-LAB | lab(82.28, -26.33, 30.62) |
| CIE-LCH | lch(82.28, 40.39, 130.69°) |
| OKLab | oklab(83.79% -0.0717 0.0765) |
| OKLCH | oklch(83.79% 0.105 133.1) |
| XYZ | xyz(47.6793, 60.8141, 36.4148) |
| Luminance | 0.6081 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Grey Green
#B7E1A1
ΔE00 2.52
Pale Olive Green
#B1D27B
ΔE00 4.32
Light Sage
#BCECAC
ΔE00 4.80
Light Moss Green
#A6C875
ΔE00 5.25
Pale Olive
#B9CC81
ΔE00 5.76
Pistachio
#93C572
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFD992 #BC92D9
analogous
#D2D992 #AFD992 #92D998
triadic
#AFD992 #92AFD9 #D992AF
tetradic
#AFD992 #92D2D9 #BC92D9 #D99892
square
#AFD992 #92D2D9 #BC92D9 #D99892
split-complementary
#AFD992 #9892D9 #D992D2
monochromatic
#6EB23E #8EC965 #AFD992 #D0E9BF #EEF7E8
Accessibility & contrast
On white
1.60
#AFD992 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.16
#AFD992 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFD992
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFD992 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFD992 | 1.00 | 1.60 | 13.16 | 13.16 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCF8D
Deuteranopia (green-blind)
#D8CB96
Tritanopia (blue-blind)
#B0D3C7
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #afd992; /* rgb */ color: rgb(175, 217, 146); /* oklch */ color: oklch(83.8% 0.105 133.1);
Tailwind
colors: {
custom: {
50: '#c8e5b2',
500: '#afd992',
950: '#000000',
},
}SCSS
$custom: #afd992; $custom-light: #c8e5b2; $custom-dark: #000000;
JSON
{
"hex": "#afd992",
"rgb": {
"r": 175,
"g": 217,
"b": 146
},
"hsl": {
"h": 95.493,
"s": 48.299,
"l": 71.176
},
"oklch": {
"l": 0.83794,
"c": 0.10484,
"h": 133.1
},
"luminance": 0.60815
}Semantic roles & 50–950 ramp
primary
#AFD992
secondary
#8F5FB0
accent
#2ABC80
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481