#AFAA72#AFAA72
#AFAA72 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.075 H 103.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA72 |
|---|---|
| RGB | rgb(175, 170, 114) |
| HSL | hsl(55, 28%, 57%) |
| HSV | hsv(55, 35%, 69%) |
| CMYK | cmyk(0%, 2.9%, 34.9%, 31.4%) |
| CIE-LAB | lab(68.81, -6.86, 29.56) |
| CIE-LCH | lch(68.81, 30.34, 103.06°) |
| OKLab | oklab(72.87% -0.0179 0.0731) |
| OKLCH | oklch(72.87% 0.075 103.7) |
| XYZ | xyz(35.0916, 39.0791, 21.6108) |
| Luminance | 0.3908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.90
Sand
#C2B280
ΔE00 5.10
Darkkhaki
#BDB76B
ΔE00 5.19
Stone (survey)
#ADA587
ΔE00 7.08
Bland
#AFA88B
ΔE00 7.26
Putty
#BEAE8A
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA72 #7277AF
analogous
#AF8C72 #AFAA72 #96AF72
triadic
#AFAA72 #72AFAA #AA72AF
tetradic
#AFAA72 #72AF8C #7277AF #AF7296
square
#AFAA72 #72AF8C #7277AF #AF7296
split-complementary
#AFAA72 #7296AF #8C72AF
monochromatic
#6A673C #918C52 #AFAA72 #C5C299 #DBD9C0
Accessibility & contrast
On white
2.38
#AFAA72 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#AFAA72 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA72
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA72 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA72 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A66E
Deuteranopia (green-blind)
#B6A974
Tritanopia (blue-blind)
#B8A39C
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa72; /* rgb */ color: rgb(175, 170, 114); /* oklch */ color: oklch(72.9% 0.075 103.7);
Tailwind
colors: {
custom: {
50: '#c8c39b',
500: '#afaa72',
950: '#000000',
},
}SCSS
$custom: #afaa72; $custom-light: #c8c39b; $custom-dark: #000000;
JSON
{
"hex": "#afaa72",
"rgb": {
"r": 175,
"g": 170,
"b": 114
},
"hsl": {
"h": 55.082,
"s": 27.602,
"l": 56.667
},
"oklch": {
"l": 0.72871,
"c": 0.07527,
"h": 103.7
},
"luminance": 0.39078
}Semantic roles & 50–950 ramp
primary
#AFAA72
secondary
#B2B4CB
accent
#6CC464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E