#AFD672#AFD672
#AFD672 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.6% C 0.135 H 126.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFD672 |
|---|---|
| RGB | rgb(175, 214, 114) |
| HSL | hsl(83, 55%, 64%) |
| HSV | hsv(83, 47%, 84%) |
| CMYK | cmyk(18.2%, 0%, 46.7%, 16.1%) |
| CIE-LAB | lab(80.97, -28.97, 45.00) |
| CIE-LCH | lch(80.97, 53.52, 122.78°) |
| OKLab | oklab(82.59% -0.0805 0.1082) |
| OKLCH | oklch(82.59% 0.135 126.7) |
| XYZ | xyz(44.7628, 58.4215, 24.8345) |
| Luminance | 0.5842 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 2.12
Light Moss Green
#A6C875
ΔE00 4.04
Pale Olive
#B9CC81
ΔE00 5.14
Greenish Tan
#BCCB7A
ΔE00 5.37
Pistachio
#93C572
ΔE00 6.11
Light Olive Green
#A4BE5C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFD672 #9972D6
analogous
#D6CB72 #AFD672 #7DD672
triadic
#AFD672 #72AFD6 #D672AF
tetradic
#AFD672 #72D6CB #9972D6 #D6727D
square
#AFD672 #72D6CB #9972D6 #D6727D
split-complementary
#AFD672 #727DD6 #CB72D6
monochromatic
#739F2E #94C843 #AFD672 #CAE4A1 #E5F2D1
Accessibility & contrast
On white
1.66
#AFD672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.68
#AFD672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFD672
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFD672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFD672 | 1.00 | 1.66 | 12.68 | 12.68 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCB6A
Deuteranopia (green-blind)
#DAC878
Tritanopia (blue-blind)
#B4CEBF
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #afd672; /* rgb */ color: rgb(175, 214, 114); /* oklch */ color: oklch(82.6% 0.135 126.7);
Tailwind
colors: {
custom: {
50: '#c8e29c',
500: '#afd672',
950: '#000000',
},
}SCSS
$custom: #afd672; $custom-light: #c8e29c; $custom-dark: #000000;
JSON
{
"hex": "#afd672",
"rgb": {
"r": 175,
"g": 214,
"b": 114
},
"hsl": {
"h": 83.4,
"s": 54.945,
"l": 64.314
},
"oklch": {
"l": 0.82591,
"c": 0.13491,
"h": 126.7
},
"luminance": 0.58422
}Semantic roles & 50–950 ramp
primary
#AFD672
secondary
#6C49A4
accent
#23C261
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F