#AFA06B#AFA06B
#AFA06B is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.073 H 94.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA06B |
|---|---|
| RGB | rgb(175, 160, 107) |
| HSL | hsl(47, 30%, 55%) |
| HSV | hsv(47, 39%, 69%) |
| CMYK | cmyk(0%, 8.6%, 38.9%, 31.4%) |
| CIE-LAB | lab(66.00, -2.35, 29.63) |
| CIE-LCH | lch(66.00, 29.72, 94.53°) |
| OKLab | oklab(70.61% -0.0053 0.073) |
| OKLCH | oklch(70.61% 0.073 94.2) |
| XYZ | xyz(32.9045, 35.3182, 18.9909) |
| Luminance | 0.3532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.95
Dust
#B2996E
ΔE00 5.12
Dark Beige
#AC9362
ΔE00 5.16
Sand
#C2B280
ΔE00 5.39
Sandy Brown
#C4A661
ΔE00 5.88
Dark Sand
#A88F59
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA06B #6B7AAF
analogous
#AF7E6B #AFA06B #9CAF6B
triadic
#AFA06B #6BAFA0 #A06BAF
tetradic
#AFA06B #6BAF7E #6B7AAF #AF6B9C
square
#AFA06B #6BAF7E #6B7AAF #AF6B9C
split-complementary
#AFA06B #6B9CAF #7E6BAF
monochromatic
#685D38 #8F814D #AFA06B #C4BA93 #DAD3BA
Accessibility & contrast
On white
2.60
#AFA06B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#AFA06B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA06B
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA06B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA06B | 1.00 | 2.60 | 8.06 | 8.06 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9E67
Deuteranopia (green-blind)
#AFA26D
Tritanopia (blue-blind)
#B99893
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa06b; /* rgb */ color: rgb(175, 160, 107); /* oklch */ color: oklch(70.6% 0.073 94.2);
Tailwind
colors: {
custom: {
50: '#c8bc96',
500: '#afa06b',
950: '#000000',
},
}SCSS
$custom: #afa06b; $custom-light: #c8bc96; $custom-dark: #000000;
JSON
{
"hex": "#afa06b",
"rgb": {
"r": 175,
"g": 160,
"b": 107
},
"hsl": {
"h": 46.765,
"s": 29.825,
"l": 55.294
},
"oklch": {
"l": 0.70608,
"c": 0.07321,
"h": 94.2
},
"luminance": 0.35317
}Semantic roles & 50–950 ramp
primary
#AFA06B
secondary
#ADB3C9
accent
#78C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110D
muted
#82807E