#AFAB72#AFAB72
#AFAB72 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.076 H 104.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB72 |
|---|---|
| RGB | rgb(175, 171, 114) |
| HSL | hsl(56, 28%, 57%) |
| HSV | hsv(56, 35%, 69%) |
| CMYK | cmyk(0%, 2.3%, 34.9%, 31.4%) |
| CIE-LAB | lab(69.08, -7.39, 29.91) |
| CIE-LCH | lch(69.08, 30.81, 103.87°) |
| OKLab | oklab(73.09% -0.0194 0.074) |
| OKLCH | oklch(73.09% 0.076 104.7) |
| XYZ | xyz(35.2798, 39.4554, 21.6735) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.83
Darkkhaki
#BDB76B
ΔE00 4.93
Sand
#C2B280
ΔE00 5.29
Stone (survey)
#ADA587
ΔE00 7.40
Bland
#AFA88B
ΔE00 7.54
Putty
#BEAE8A
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB72 #7276AF
analogous
#AF8D72 #AFAB72 #95AF72
triadic
#AFAB72 #72AFAB #AB72AF
tetradic
#AFAB72 #72AF8D #7276AF #AF7295
square
#AFAB72 #72AF8D #7276AF #AF7295
split-complementary
#AFAB72 #7295AF #8D72AF
monochromatic
#6A673C #918D52 #AFAB72 #C5C299 #DBDAC0
Accessibility & contrast
On white
2.36
#AFAB72 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#AFAB72 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB72
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB72 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB72 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A76E
Deuteranopia (green-blind)
#B6AA74
Tritanopia (blue-blind)
#B8A49C
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afab72; /* rgb */ color: rgb(175, 171, 114); /* oklch */ color: oklch(73.1% 0.076 104.7);
Tailwind
colors: {
custom: {
50: '#c8c39b',
500: '#afab72',
950: '#000000',
},
}SCSS
$custom: #afab72; $custom-light: #c8c39b; $custom-dark: #000000;
JSON
{
"hex": "#afab72",
"rgb": {
"r": 175,
"g": 171,
"b": 114
},
"hsl": {
"h": 56.066,
"s": 27.602,
"l": 56.667
},
"oklch": {
"l": 0.73086,
"c": 0.07645,
"h": 104.7
},
"luminance": 0.39455
}Semantic roles & 50–950 ramp
primary
#AFAB72
secondary
#B2B4CB
accent
#6AC464
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E