#AFA773#AFA773
#AFA773 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.071 H 100.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA773 |
|---|---|
| RGB | rgb(175, 167, 115) |
| HSL | hsl(52, 27%, 57%) |
| HSV | hsv(52, 34%, 69%) |
| CMYK | cmyk(0%, 4.6%, 34.3%, 31.4%) |
| CIE-LAB | lab(68.01, -5.14, 27.98) |
| CIE-LCH | lch(68.01, 28.45, 100.41°) |
| OKLab | oklab(72.25% -0.0129 0.0695) |
| OKLCH | oklch(72.25% 0.071 100.5) |
| XYZ | xyz(34.5928, 37.9900, 21.7269) |
| Luminance | 0.3799 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.70
Sand
#C2B280
ΔE00 4.64
Stone (survey)
#ADA587
ΔE00 5.98
Darkkhaki
#BDB76B
ΔE00 6.28
Bland
#AFA88B
ΔE00 6.29
Putty
#BEAE8A
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA773 #737BAF
analogous
#AF8973 #AFA773 #99AF73
triadic
#AFA773 #73AFA7 #A773AF
tetradic
#AFA773 #73AF89 #737BAF #AF7399
square
#AFA773 #73AF89 #737BAF #AF7399
split-complementary
#AFA773 #7399AF #8973AF
monochromatic
#6B653D #928953 #AFA773 #C5BF9A #DCD8C1
Accessibility & contrast
On white
2.44
#AFA773 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#AFA773 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA773
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA773 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA773 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A46F
Deuteranopia (green-blind)
#B3A775
Tritanopia (blue-blind)
#B8A09A
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa773; /* rgb */ color: rgb(175, 167, 115); /* oklch */ color: oklch(72.2% 0.071 100.5);
Tailwind
colors: {
custom: {
50: '#c8c19c',
500: '#afa773',
950: '#000000',
},
}SCSS
$custom: #afa773; $custom-light: #c8c19c; $custom-dark: #000000;
JSON
{
"hex": "#afa773",
"rgb": {
"r": 175,
"g": 167,
"b": 115
},
"hsl": {
"h": 52,
"s": 27.273,
"l": 56.863
},
"oklch": {
"l": 0.72246,
"c": 0.07064,
"h": 100.5
},
"luminance": 0.37989
}Semantic roles & 50–950 ramp
primary
#AFA773
secondary
#B3B6CB
accent
#71C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E