#AFA663#AFA663
#AFA663 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.088 H 101.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA663 |
|---|---|
| RGB | rgb(175, 166, 99) |
| HSL | hsl(53, 32%, 54%) |
| HSV | hsv(53, 43%, 69%) |
| CMYK | cmyk(0%, 5.1%, 43.4%, 31.4%) |
| CIE-LAB | lab(67.49, -6.45, 35.77) |
| CIE-LCH | lch(67.49, 36.35, 100.23°) |
| OKLab | oklab(71.75% -0.0179 0.0867) |
| OKLCH | oklch(71.75% 0.088 101.7) |
| XYZ | xyz(33.5683, 37.2882, 17.2310) |
| Luminance | 0.3729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.60
Darkkhaki
#BDB76B
ΔE00 4.89
Sand
#C2B280
ΔE00 6.13
Sandy Brown
#C4A661
ΔE00 6.79
Dark Khaki
#9B8F55
ΔE00 7.25
Sandstone
#C9AE74
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA663 #636CAF
analogous
#AF8063 #AFA663 #92AF63
triadic
#AFA663 #63AFA6 #A663AF
tetradic
#AFA663 #63AF80 #636CAF #AF6392
square
#AFA663 #63AF80 #636CAF #AF6392
split-complementary
#AFA663 #6392AF #8063AF
monochromatic
#645E33 #8D8548 #AFA663 #C4BD8B #D8D4B4
Accessibility & contrast
On white
2.48
#AFA663 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#AFA663 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA663
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA663 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA663 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A25E
Deuteranopia (green-blind)
#B4A666
Tritanopia (blue-blind)
#B99E96
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #afa663; /* rgb */ color: rgb(175, 166, 99); /* oklch */ color: oklch(71.8% 0.088 101.7);
Tailwind
colors: {
custom: {
50: '#c8c090',
500: '#afa663',
950: '#000000',
},
}SCSS
$custom: #afa663; $custom-light: #c8c090; $custom-dark: #000000;
JSON
{
"hex": "#afa663",
"rgb": {
"r": 175,
"g": 166,
"b": 99
},
"hsl": {
"h": 52.895,
"s": 32.203,
"l": 53.725
},
"oklch": {
"l": 0.71753,
"c": 0.08847,
"h": 101.7
},
"luminance": 0.37287
}Semantic roles & 50–950 ramp
primary
#AFA663
secondary
#A7AAC7
accent
#6CC85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D