#AFA163#AFA163
#AFA163 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.083 H 97.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA163 |
|---|---|
| RGB | rgb(175, 161, 99) |
| HSL | hsl(49, 32%, 54%) |
| HSV | hsv(49, 43%, 69%) |
| CMYK | cmyk(0%, 8%, 43.4%, 31.4%) |
| CIE-LAB | lab(66.14, -3.78, 34.07) |
| CIE-LCH | lch(66.14, 34.28, 96.34°) |
| OKLab | oklab(70.68% -0.0101 0.0828) |
| OKLCH | oklch(70.68% 0.083 97) |
| XYZ | xyz(32.6770, 35.5057, 16.9339) |
| Luminance | 0.3550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.52
Sandy Brown
#C4A661
ΔE00 5.60
Dark Khaki
#9B8F55
ΔE00 5.91
Sand
#C2B280
ΔE00 5.98
Dark Beige
#AC9362
ΔE00 6.30
Sandstone
#C9AE74
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA163 #6371AF
analogous
#AF7B63 #AFA163 #97AF63
triadic
#AFA163 #63AFA1 #A163AF
tetradic
#AFA163 #63AF7B #6371AF #AF6397
square
#AFA163 #63AF7B #6371AF #AF6397
split-complementary
#AFA163 #6397AF #7B63AF
monochromatic
#645B33 #8D8048 #AFA163 #C4B98B #D8D2B4
Accessibility & contrast
On white
2.59
#AFA163 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#AFA163 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA163
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA163 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA163 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9E5E
Deuteranopia (green-blind)
#B0A365
Tritanopia (blue-blind)
#BA9992
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #afa163; /* rgb */ color: rgb(175, 161, 99); /* oklch */ color: oklch(70.7% 0.083 97.0);
Tailwind
colors: {
custom: {
50: '#c8bc90',
500: '#afa163',
950: '#000000',
},
}SCSS
$custom: #afa163; $custom-light: #c8bc90; $custom-dark: #000000;
JSON
{
"hex": "#afa163",
"rgb": {
"r": 175,
"g": 161,
"b": 99
},
"hsl": {
"h": 48.947,
"s": 32.203,
"l": 53.725
},
"oklch": {
"l": 0.70682,
"c": 0.08342,
"h": 97
},
"luminance": 0.35505
}Semantic roles & 50–950 ramp
primary
#AFA163
secondary
#A7ADC7
accent
#73C85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D