#AFA66A#AFA66A
#AFA66A is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.080 H 100.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA66A |
|---|---|
| RGB | rgb(175, 166, 106) |
| HSL | hsl(52, 30%, 55%) |
| HSV | hsv(52, 39%, 69%) |
| CMYK | cmyk(0%, 5.1%, 39.4%, 31.4%) |
| CIE-LAB | lab(67.60, -5.68, 32.23) |
| CIE-LCH | lch(67.60, 32.73, 100.00°) |
| OKLab | oklab(71.87% -0.015 0.079) |
| OKLCH | oklch(71.87% 0.08 100.8) |
| XYZ | xyz(33.9175, 37.4279, 19.0705) |
| Luminance | 0.3743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.28
Sand
#C2B280
ΔE00 5.29
Darkkhaki
#BDB76B
ΔE00 5.42
Sandy Brown
#C4A661
ΔE00 6.86
Sandstone
#C9AE74
ΔE00 6.90
Dark Khaki
#9B8F55
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA66A #6A73AF
analogous
#AF836A #AFA66A #95AF6A
triadic
#AFA66A #6AAFA6 #A66AAF
tetradic
#AFA66A #6AAF83 #6A73AF #AF6A95
square
#AFA66A #6AAF83 #6A73AF #AF6A95
split-complementary
#AFA66A #6A95AF #836AAF
monochromatic
#676137 #8F864D #AFA66A #C4BE92 #DAD6BA
Accessibility & contrast
On white
2.47
#AFA66A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#AFA66A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA66A
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA66A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA66A | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A266
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#B99E97
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa66a; /* rgb */ color: rgb(175, 166, 106); /* oklch */ color: oklch(71.9% 0.080 100.8);
Tailwind
colors: {
custom: {
50: '#c8c095',
500: '#afa66a',
950: '#000000',
},
}SCSS
$custom: #afa66a; $custom-light: #c8c095; $custom-dark: #000000;
JSON
{
"hex": "#afa66a",
"rgb": {
"r": 175,
"g": 166,
"b": 106
},
"hsl": {
"h": 52.174,
"s": 30.131,
"l": 55.098
},
"oklch": {
"l": 0.71869,
"c": 0.08039,
"h": 100.8
},
"luminance": 0.37427
}Semantic roles & 50–950 ramp
primary
#AFA66A
secondary
#ACB0C9
accent
#6FC661
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E