#AFA963#AFA963
#AFA963 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.092 H 104.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA963 |
|---|---|
| RGB | rgb(175, 169, 99) |
| HSL | hsl(55, 32%, 54%) |
| HSV | hsv(55, 43%, 69%) |
| CMYK | cmyk(0%, 3.4%, 43.4%, 31.4%) |
| CIE-LAB | lab(68.31, -8.04, 36.80) |
| CIE-LCH | lch(68.31, 37.66, 102.33°) |
| OKLab | oklab(72.4% -0.0224 0.089) |
| OKLCH | oklch(72.4% 0.092 104.2) |
| XYZ | xyz(34.1200, 38.3917, 17.4149) |
| Luminance | 0.3839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.22
Darkkhaki
#BDB76B
ΔE00 4.00
Sand
#C2B280
ΔE00 6.52
Sandy Brown
#C4A661
ΔE00 7.67
Sandstone
#C9AE74
ΔE00 7.97
Desert
#CCAD60
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA963 #6369AF
analogous
#AF8363 #AFA963 #8FAF63
triadic
#AFA963 #63AFA9 #A963AF
tetradic
#AFA963 #63AF83 #6369AF #AF638F
square
#AFA963 #63AF83 #6369AF #AF638F
split-complementary
#AFA963 #638FAF #8363AF
monochromatic
#646033 #8D8748 #AFA963 #C4BF8B #D8D6B4
Accessibility & contrast
On white
2.42
#AFA963 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#AFA963 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA963
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA963 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA963 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A45D
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#B9A198
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa963; /* rgb */ color: rgb(175, 169, 99); /* oklch */ color: oklch(72.4% 0.092 104.2);
Tailwind
colors: {
custom: {
50: '#c8c290',
500: '#afa963',
950: '#000000',
},
}SCSS
$custom: #afa963; $custom-light: #c8c290; $custom-dark: #000000;
JSON
{
"hex": "#afa963",
"rgb": {
"r": 175,
"g": 169,
"b": 99
},
"hsl": {
"h": 55.263,
"s": 32.203,
"l": 53.725
},
"oklch": {
"l": 0.72399,
"c": 0.09175,
"h": 104.2
},
"luminance": 0.38391
}Semantic roles & 50–950 ramp
primary
#AFA963
secondary
#A7A9C7
accent
#68C85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D