#AFA46D#AFA46D
#AFA46D is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.075 H 98.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA46D |
|---|---|
| RGB | rgb(175, 164, 109) |
| HSL | hsl(50, 29%, 56%) |
| HSV | hsv(50, 38%, 69%) |
| CMYK | cmyk(0%, 6.3%, 37.7%, 31.4%) |
| CIE-LAB | lab(67.10, -4.26, 30.00) |
| CIE-LCH | lch(67.10, 30.30, 98.09°) |
| OKLab | oklab(71.5% -0.0107 0.074) |
| OKLCH | oklch(71.5% 0.075 98.3) |
| XYZ | xyz(33.7155, 36.7700, 19.7863) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.52
Sand
#C2B280
ΔE00 4.92
Sandstone
#C9AE74
ΔE00 6.46
Darkkhaki
#BDB76B
ΔE00 6.51
Sandy Brown
#C4A661
ΔE00 6.56
Stone (survey)
#ADA587
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA46D #6D78AF
analogous
#AF836D #AFA46D #99AF6D
triadic
#AFA46D #6DAFA4 #A46DAF
tetradic
#AFA46D #6DAF83 #6D78AF #AF6D99
square
#AFA46D #6DAF83 #6D78AF #AF6D99
split-complementary
#AFA46D #6D99AF #836DAF
monochromatic
#686139 #90854F #AFA46D #C5BD95 #DAD5BC
Accessibility & contrast
On white
2.51
#AFA46D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#AFA46D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA46D
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA46D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA46D | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA169
Deuteranopia (green-blind)
#B1A56F
Tritanopia (blue-blind)
#B99C96
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #afa46d; /* rgb */ color: rgb(175, 164, 109); /* oklch */ color: oklch(71.5% 0.075 98.3);
Tailwind
colors: {
custom: {
50: '#c8be97',
500: '#afa46d',
950: '#000000',
},
}SCSS
$custom: #afa46d; $custom-light: #c8be97; $custom-dark: #000000;
JSON
{
"hex": "#afa46d",
"rgb": {
"r": 175,
"g": 164,
"b": 109
},
"hsl": {
"h": 50,
"s": 29.204,
"l": 55.686
},
"oklch": {
"l": 0.71495,
"c": 0.07473,
"h": 98.3
},
"luminance": 0.36769
}Semantic roles & 50–950 ramp
primary
#AFA46D
secondary
#AEB3CA
accent
#73C562
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E