#AFA77E#AFA77E
#AFA77E is a light, muted yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.057 H 98.3°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA77E |
|---|---|
| RGB | rgb(175, 167, 126) |
| HSL | hsl(50, 23%, 59%) |
| HSV | hsv(50, 28%, 69%) |
| CMYK | cmyk(0%, 4.6%, 28%, 31.4%) |
| CIE-LAB | lab(68.21, -3.70, 22.30) |
| CIE-LCH | lch(68.21, 22.60, 99.41°) |
| OKLab | oklab(72.47% -0.0082 0.0562) |
| OKLCH | oklch(72.47% 0.057 98.3) |
| XYZ | xyz(35.2640, 38.2585, 25.2616) |
| Luminance | 0.3826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 3.27
Bland
#AFA88B
ΔE00 3.56
Putty
#BEAE8A
ΔE00 4.69
Sand
#C2B280
ΔE00 4.83
Khaki (survey)
#AAA662
ΔE00 6.36
Khaki
#C3B091
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA77E #7E86AF
analogous
#AF8F7E #AFA77E #9FAF7E
triadic
#AFA77E #7EAFA7 #A77EAF
tetradic
#AFA77E #7EAF8F #7E86AF #AF7E9F
square
#AFA77E #7EAF8F #7E86AF #AF7E9F
split-complementary
#AFA77E #7E9FAF #8F7EAF
monochromatic
#6E6744 #948B5C #AFA77E #C6C1A4 #DEDBCA
Accessibility & contrast
On white
2.43
#AFA77E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#AFA77E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA77E
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA77E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA77E | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA47B
Deuteranopia (green-blind)
#B2A87F
Tritanopia (blue-blind)
#B7A19C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa77e; /* rgb */ color: rgb(175, 167, 126); /* oklch */ color: oklch(72.5% 0.057 98.3);
Tailwind
colors: {
custom: {
50: '#c7c1a3',
500: '#afa77e',
950: '#000000',
},
}SCSS
$custom: #afa77e; $custom-light: #c7c1a3; $custom-dark: #000000;
JSON
{
"hex": "#afa77e",
"rgb": {
"r": 175,
"g": 167,
"b": 126
},
"hsl": {
"h": 50.204,
"s": 23.445,
"l": 59.02
},
"oklch": {
"l": 0.72467,
"c": 0.05684,
"h": 98.3
},
"luminance": 0.38258
}Semantic roles & 50–950 ramp
primary
#AFA77E
secondary
#BBBECE
accent
#76C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F