#AF9F66#AF9F66
#AF9F66 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.3% C 0.078 H 94.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F66 |
|---|---|
| RGB | rgb(175, 159, 102) |
| HSL | hsl(47, 31%, 54%) |
| HSV | hsv(47, 42%, 69%) |
| CMYK | cmyk(0%, 9.1%, 41.7%, 31.4%) |
| CIE-LAB | lab(65.65, -2.38, 31.85) |
| CIE-LCH | lch(65.65, 31.94, 94.27°) |
| OKLab | oklab(70.31% -0.0058 0.0779) |
| OKLCH | oklch(70.31% 0.078 94.3) |
| XYZ | xyz(32.4764, 34.8707, 17.5878) |
| Luminance | 0.3487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.73
Dark Beige
#AC9362
ΔE00 5.06
Dust
#B2996E
ΔE00 5.37
Sandy Brown
#C4A661
ΔE00 5.45
Dark Sand
#A88F59
ΔE00 5.58
Dark Khaki
#9B8F55
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F66 #6676AF
analogous
#AF7B66 #AF9F66 #9BAF66
triadic
#AF9F66 #66AF9F #9F66AF
tetradic
#AF9F66 #66AF7B #6676AF #AF669B
square
#AF9F66 #66AF7B #6676AF #AF669B
split-complementary
#AF9F66 #669BAF #7B66AF
monochromatic
#665B35 #8E7F4A #AF9F66 #C4B88E #D9D1B6
Accessibility & contrast
On white
2.63
#AF9F66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#AF9F66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F66
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F66 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9D62
Deuteranopia (green-blind)
#AEA268
Tritanopia (blue-blind)
#B99791
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #af9f66; /* rgb */ color: rgb(175, 159, 102); /* oklch */ color: oklch(70.3% 0.078 94.3);
Tailwind
colors: {
custom: {
50: '#c8bb92',
500: '#af9f66',
950: '#000000',
},
}SCSS
$custom: #af9f66; $custom-light: #c8bb92; $custom-dark: #000000;
JSON
{
"hex": "#af9f66",
"rgb": {
"r": 175,
"g": 159,
"b": 102
},
"hsl": {
"h": 46.849,
"s": 31.33,
"l": 54.314
},
"oklch": {
"l": 0.70307,
"c": 0.07813,
"h": 94.3
},
"luminance": 0.3487
}Semantic roles & 50–950 ramp
primary
#AF9F66
secondary
#A9B0C8
accent
#77C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13110D
muted
#82807E