#AFA477#AFA477
#AFA477 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.063 H 96.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA477 |
|---|---|
| RGB | rgb(175, 164, 119) |
| HSL | hsl(48, 26%, 58%) |
| HSV | hsv(48, 32%, 69%) |
| CMYK | cmyk(0%, 6.3%, 32%, 31.4%) |
| CIE-LAB | lab(67.28, -3.02, 24.84) |
| CIE-LCH | lch(67.28, 25.02, 96.93°) |
| OKLab | oklab(71.69% -0.0066 0.0622) |
| OKLCH | oklch(71.69% 0.063 96) |
| XYZ | xyz(34.2848, 36.9977, 22.7844) |
| Luminance | 0.3700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.28
Sand
#C2B280
ΔE00 4.65
Bland
#AFA88B
ΔE00 4.81
Putty
#BEAE8A
ΔE00 4.92
Khaki (survey)
#AAA662
ΔE00 5.64
Dust
#B2996E
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA477 #7782AF
analogous
#AF8877 #AFA477 #9EAF77
triadic
#AFA477 #77AFA4 #A477AF
tetradic
#AFA477 #77AF88 #7782AF #AF779E
square
#AFA477 #77AF88 #7782AF #AF779E
split-complementary
#AFA477 #779EAF #8877AF
monochromatic
#6C6340 #938756 #AFA477 #C6BE9E #DCD8C4
Accessibility & contrast
On white
2.50
#AFA477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#AFA477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA477
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA477 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADA274
Deuteranopia (green-blind)
#B0A579
Tritanopia (blue-blind)
#B89D98
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #afa477; /* rgb */ color: rgb(175, 164, 119); /* oklch */ color: oklch(71.7% 0.063 96.0);
Tailwind
colors: {
custom: {
50: '#c7be9e',
500: '#afa477',
950: '#000000',
},
}SCSS
$custom: #afa477; $custom-light: #c7be9e; $custom-dark: #000000;
JSON
{
"hex": "#afa477",
"rgb": {
"r": 175,
"g": 164,
"b": 119
},
"hsl": {
"h": 48.214,
"s": 25.926,
"l": 57.647
},
"oklch": {
"l": 0.71686,
"c": 0.06253,
"h": 96
},
"luminance": 0.36997
}Semantic roles & 50–950 ramp
primary
#AFA477
secondary
#B6BACC
accent
#78C265
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E