#AFA975#AFA975
#AFA975 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.070 H 102.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA975 |
|---|---|
| RGB | rgb(175, 169, 117) |
| HSL | hsl(54, 27%, 57%) |
| HSV | hsv(54, 33%, 69%) |
| CMYK | cmyk(0%, 3.4%, 33.1%, 31.4%) |
| CIE-LAB | lab(68.59, -5.95, 27.67) |
| CIE-LCH | lch(68.59, 28.30, 102.14°) |
| OKLab | oklab(72.71% -0.0151 0.0688) |
| OKLCH | oklch(72.71% 0.07 102.4) |
| XYZ | xyz(35.0784, 38.7750, 22.4626) |
| Luminance | 0.3877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.68
Sand
#C2B280
ΔE00 4.76
Darkkhaki
#BDB76B
ΔE00 5.97
Stone (survey)
#ADA587
ΔE00 6.14
Bland
#AFA88B
ΔE00 6.34
Putty
#BEAE8A
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA975 #757BAF
analogous
#AF8C75 #AFA975 #98AF75
triadic
#AFA975 #75AFA9 #A975AF
tetradic
#AFA975 #75AF8C #757BAF #AF7598
square
#AFA975 #75AF8C #757BAF #AF7598
split-complementary
#AFA975 #7598AF #8C75AF
monochromatic
#6B673E #928C55 #AFA975 #C5C19C #DCD9C2
Accessibility & contrast
On white
2.40
#AFA975 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#AFA975 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA975
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA975 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA975 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A571
Deuteranopia (green-blind)
#B4A977
Tritanopia (blue-blind)
#B7A29C
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa975; /* rgb */ color: rgb(175, 169, 117); /* oklch */ color: oklch(72.7% 0.070 102.4);
Tailwind
colors: {
custom: {
50: '#c7c29d',
500: '#afa975',
950: '#000000',
},
}SCSS
$custom: #afa975; $custom-light: #c7c29d; $custom-dark: #000000;
JSON
{
"hex": "#afa975",
"rgb": {
"r": 175,
"g": 169,
"b": 117
},
"hsl": {
"h": 53.793,
"s": 26.606,
"l": 57.255
},
"oklch": {
"l": 0.72712,
"c": 0.07043,
"h": 102.4
},
"luminance": 0.38774
}Semantic roles & 50–950 ramp
primary
#AFA975
secondary
#B4B7CC
accent
#6FC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E