#AFD673#AFD673
#AFD673 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.6% C 0.134 H 126.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AFD673 |
|---|---|
| RGB | rgb(175, 214, 115) |
| HSL | hsl(84, 55%, 65%) |
| HSV | hsv(84, 46%, 84%) |
| CMYK | cmyk(18.2%, 0%, 46.3%, 16.1%) |
| CIE-LAB | lab(80.99, -28.86, 44.53) |
| CIE-LCH | lch(80.99, 53.06, 122.95°) |
| OKLab | oklab(82.61% -0.0802 0.1073) |
| OKLCH | oklch(82.61% 0.134 126.8) |
| XYZ | xyz(44.8200, 58.4444, 25.1359) |
| Luminance | 0.5845 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 2.00
Light Moss Green
#A6C875
ΔE00 3.95
Pale Olive
#B9CC81
ΔE00 5.06
Greenish Tan
#BCCB7A
ΔE00 5.34
Pistachio
#93C572
ΔE00 6.03
Light Olive Green
#A4BE5C
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFD673 #9A73D6
analogous
#D6CB73 #AFD673 #7ED673
triadic
#AFD673 #73AFD6 #D673AF
tetradic
#AFD673 #73D6CB #9A73D6 #D6737E
square
#AFD673 #73D6CB #9A73D6 #D6737E
split-complementary
#AFD673 #737ED6 #CB73D6
monochromatic
#73A02F #94C844 #AFD673 #CAE4A2 #E5F2D2
Accessibility & contrast
On white
1.65
#AFD673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.69
#AFD673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFD673
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFD673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFD673 | 1.00 | 1.65 | 12.69 | 12.69 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFCB6B
Deuteranopia (green-blind)
#D9C879
Tritanopia (blue-blind)
#B4CEBF
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #afd673; /* rgb */ color: rgb(175, 214, 115); /* oklch */ color: oklch(82.6% 0.134 126.8);
Tailwind
colors: {
custom: {
50: '#c8e29d',
500: '#afd673',
950: '#000000',
},
}SCSS
$custom: #afd673; $custom-light: #c8e29d; $custom-dark: #000000;
JSON
{
"hex": "#afd673",
"rgb": {
"r": 175,
"g": 214,
"b": 115
},
"hsl": {
"h": 83.636,
"s": 54.696,
"l": 64.51
},
"oklch": {
"l": 0.82606,
"c": 0.1339,
"h": 126.8
},
"luminance": 0.58445
}Semantic roles & 50–950 ramp
primary
#AFD673
secondary
#6D49A4
accent
#23C262
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F