#AFA473#AFA473
#AFA473 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.067 H 97.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA473 |
|---|---|
| RGB | rgb(175, 164, 115) |
| HSL | hsl(49, 27%, 57%) |
| HSV | hsv(49, 34%, 69%) |
| CMYK | cmyk(0%, 6.3%, 34.3%, 31.4%) |
| CIE-LAB | lab(67.20, -3.53, 26.91) |
| CIE-LCH | lch(67.20, 27.14, 97.48°) |
| OKLab | oklab(71.61% -0.0082 0.067) |
| OKLCH | oklch(71.61% 0.067 97) |
| XYZ | xyz(34.0496, 36.9036, 21.5458) |
| Luminance | 0.3690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.62
Khaki (survey)
#AAA662
ΔE00 4.72
Stone (survey)
#ADA587
ΔE00 5.25
Putty
#BEAE8A
ΔE00 5.59
Bland
#AFA88B
ΔE00 5.75
Dust
#B2996E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA473 #737EAF
analogous
#AF8673 #AFA473 #9CAF73
triadic
#AFA473 #73AFA4 #A473AF
tetradic
#AFA473 #73AF86 #737EAF #AF739C
square
#AFA473 #73AF86 #737EAF #AF739C
split-complementary
#AFA473 #739CAF #8673AF
monochromatic
#6B623D #928653 #AFA473 #C5BD9A #DCD7C1
Accessibility & contrast
On white
2.51
#AFA473 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#AFA473 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA473
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA473 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA473 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA170
Deuteranopia (green-blind)
#B1A575
Tritanopia (blue-blind)
#B89D97
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #afa473; /* rgb */ color: rgb(175, 164, 115); /* oklch */ color: oklch(71.6% 0.067 97.0);
Tailwind
colors: {
custom: {
50: '#c8be9b',
500: '#afa473',
950: '#000000',
},
}SCSS
$custom: #afa473; $custom-light: #c8be9b; $custom-dark: #000000;
JSON
{
"hex": "#afa473",
"rgb": {
"r": 175,
"g": 164,
"b": 115
},
"hsl": {
"h": 49,
"s": 27.273,
"l": 56.863
},
"oklch": {
"l": 0.71607,
"c": 0.06747,
"h": 97
},
"luminance": 0.36903
}Semantic roles & 50–950 ramp
primary
#AFA473
secondary
#B3B7CB
accent
#76C464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E