#AFAD71#AFAD71
#AFAD71 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.5% C 0.080 H 106.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAD71 |
|---|---|
| RGB | rgb(175, 173, 113) |
| HSL | hsl(58, 28%, 56%) |
| HSV | hsv(58, 35%, 69%) |
| CMYK | cmyk(0%, 1.1%, 35.4%, 31.4%) |
| CIE-LAB | lab(69.61, -8.57, 31.13) |
| CIE-LCH | lch(69.61, 32.29, 105.39°) |
| OKLab | oklab(73.5% -0.0228 0.0767) |
| OKLCH | oklch(73.5% 0.08 106.6) |
| XYZ | xyz(35.6038, 40.1941, 21.5023) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.76
Darkkhaki
#BDB76B
ΔE00 4.35
Sand
#C2B280
ΔE00 5.82
Tan Green
#A9BE70
ΔE00 7.31
Light Olive
#ACBF69
ΔE00 7.58
Stone (survey)
#ADA587
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAD71 #7173AF
analogous
#AF8E71 #AFAD71 #92AF71
triadic
#AFAD71 #71AFAD #AD71AF
tetradic
#AFAD71 #71AF8E #7173AF #AF7192
square
#AFAD71 #71AF8E #7173AF #AF7192
split-complementary
#AFAD71 #7192AF #8E71AF
monochromatic
#6A683C #918F52 #AFAD71 #C5C498 #DBDABF
Accessibility & contrast
On white
2.32
#AFAD71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#AFAD71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAD71
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAD71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAD71 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A86D
Deuteranopia (green-blind)
#B8AB73
Tritanopia (blue-blind)
#B8A69E
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afad71; /* rgb */ color: rgb(175, 173, 113); /* oklch */ color: oklch(73.5% 0.080 106.6);
Tailwind
colors: {
custom: {
50: '#c8c59a',
500: '#afad71',
950: '#000000',
},
}SCSS
$custom: #afad71; $custom-light: #c8c59a; $custom-dark: #000000;
JSON
{
"hex": "#afad71",
"rgb": {
"r": 175,
"g": 173,
"b": 113
},
"hsl": {
"h": 58.065,
"s": 27.928,
"l": 56.471
},
"oklch": {
"l": 0.73499,
"c": 0.08007,
"h": 106.6
},
"luminance": 0.40193
}Semantic roles & 50–950 ramp
primary
#AFAD71
secondary
#B1B2CB
accent
#67C464
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E