#AFA06A#AFA06A
#AFA06A is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.074 H 94.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA06A |
|---|---|
| RGB | rgb(175, 160, 106) |
| HSL | hsl(47, 30%, 55%) |
| HSV | hsv(47, 39%, 69%) |
| CMYK | cmyk(0%, 8.6%, 39.4%, 31.4%) |
| CIE-LAB | lab(65.98, -2.46, 30.14) |
| CIE-LCH | lch(65.98, 30.24, 94.67°) |
| OKLab | oklab(70.59% -0.0057 0.0742) |
| OKLCH | oklch(70.59% 0.074 94.4) |
| XYZ | xyz(32.8522, 35.2973, 18.7154) |
| Luminance | 0.3530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.79
Dark Beige
#AC9362
ΔE00 5.22
Dust
#B2996E
ΔE00 5.25
Sand
#C2B280
ΔE00 5.45
Sandy Brown
#C4A661
ΔE00 5.80
Dark Khaki
#9B8F55
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA06A #6A79AF
analogous
#AF7E6A #AFA06A #9BAF6A
triadic
#AFA06A #6AAFA0 #A06AAF
tetradic
#AFA06A #6AAF7E #6A79AF #AF6A9B
square
#AFA06A #6AAF7E #6A79AF #AF6A9B
split-complementary
#AFA06A #6A9BAF #7E6AAF
monochromatic
#675D37 #8F814D #AFA06A #C4B992 #DAD3BA
Accessibility & contrast
On white
2.61
#AFA06A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#AFA06A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA06A
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA06A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA06A | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 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)
#AB9E66
Deuteranopia (green-blind)
#AFA26C
Tritanopia (blue-blind)
#B99892
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa06a; /* rgb */ color: rgb(175, 160, 106); /* oklch */ color: oklch(70.6% 0.074 94.4);
Tailwind
colors: {
custom: {
50: '#c8bc95',
500: '#afa06a',
950: '#000000',
},
}SCSS
$custom: #afa06a; $custom-light: #c8bc95; $custom-dark: #000000;
JSON
{
"hex": "#afa06a",
"rgb": {
"r": 175,
"g": 160,
"b": 106
},
"hsl": {
"h": 46.957,
"s": 30.131,
"l": 55.098
},
"oklch": {
"l": 0.7059,
"c": 0.07438,
"h": 94.4
},
"luminance": 0.35296
}Semantic roles & 50–950 ramp
primary
#AFA06A
secondary
#ACB2C9
accent
#77C661
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13110D
muted
#82807E