#AFA66F#AFA66F
#AFA66F is a light, moderate yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.074 H 100.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA66F |
|---|---|
| RGB | rgb(175, 166, 111) |
| HSL | hsl(52, 29%, 56%) |
| HSV | hsv(52, 37%, 69%) |
| CMYK | cmyk(0%, 5.1%, 36.6%, 31.4%) |
| CIE-LAB | lab(67.68, -5.10, 29.68) |
| CIE-LCH | lch(67.68, 30.11, 99.74°) |
| OKLab | oklab(71.96% -0.013 0.0733) |
| OKLCH | oklch(71.96% 0.074 100.1) |
| XYZ | xyz(34.1852, 37.5350, 20.4800) |
| Luminance | 0.3753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.17
Sand
#C2B280
ΔE00 4.82
Darkkhaki
#BDB76B
ΔE00 6.03
Stone (survey)
#ADA587
ΔE00 6.61
Putty
#BEAE8A
ΔE00 6.72
Sandstone
#C9AE74
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA66F #6F78AF
analogous
#AF866F #AFA66F #98AF6F
triadic
#AFA66F #6FAFA6 #A66FAF
tetradic
#AFA66F #6FAF86 #6F78AF #AF6F98
square
#AFA66F #6FAF86 #6F78AF #AF6F98
split-complementary
#AFA66F #6F98AF #866FAF
monochromatic
#69633A #918750 #AFA66F #C5BE96 #DBD7BE
Accessibility & contrast
On white
2.47
#AFA66F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#AFA66F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA66F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA66F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA66F | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A36B
Deuteranopia (green-blind)
#B3A771
Tritanopia (blue-blind)
#B89F98
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa66f; /* rgb */ color: rgb(175, 166, 111); /* oklch */ color: oklch(72.0% 0.074 100.1);
Tailwind
colors: {
custom: {
50: '#c8c099',
500: '#afa66f',
950: '#000000',
},
}SCSS
$custom: #afa66f; $custom-light: #c8c099; $custom-dark: #000000;
JSON
{
"hex": "#afa66f",
"rgb": {
"r": 175,
"g": 166,
"b": 111
},
"hsl": {
"h": 51.563,
"s": 28.571,
"l": 56.078
},
"oklch": {
"l": 0.71958,
"c": 0.07443,
"h": 100.1
},
"luminance": 0.37534
}Semantic roles & 50–950 ramp
primary
#AFA66F
secondary
#B0B3CA
accent
#71C563
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E