#AFA775#AFA775
#AFA775 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.068 H 100.2°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA775 |
|---|---|
| RGB | rgb(175, 167, 117) |
| HSL | hsl(52, 27%, 57%) |
| HSV | hsv(52, 33%, 69%) |
| CMYK | cmyk(0%, 4.6%, 33.1%, 31.4%) |
| CIE-LAB | lab(68.05, -4.89, 26.95) |
| CIE-LCH | lch(68.05, 27.39, 100.28°) |
| OKLab | oklab(72.29% -0.012 0.0671) |
| OKLCH | oklch(72.29% 0.068 100.2) |
| XYZ | xyz(34.7092, 38.0366, 22.3396) |
| Luminance | 0.3804 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.15
Sand
#C2B280
ΔE00 4.56
Stone (survey)
#ADA587
ΔE00 5.52
Bland
#AFA88B
ΔE00 5.83
Putty
#BEAE8A
ΔE00 5.98
Darkkhaki
#BDB76B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA775 #757DAF
analogous
#AF8A75 #AFA775 #9AAF75
triadic
#AFA775 #75AFA7 #A775AF
tetradic
#AFA775 #75AF8A #757DAF #AF759A
square
#AFA775 #75AF8A #757DAF #AF759A
split-complementary
#AFA775 #759AAF #8A75AF
monochromatic
#6B653E #928A55 #AFA775 #C5C09C #DCD8C2
Accessibility & contrast
On white
2.44
#AFA775 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#AFA775 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA775
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA775 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA775 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A472
Deuteranopia (green-blind)
#B3A777
Tritanopia (blue-blind)
#B8A09A
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa775; /* rgb */ color: rgb(175, 167, 117); /* oklch */ color: oklch(72.3% 0.068 100.2);
Tailwind
colors: {
custom: {
50: '#c7c19d',
500: '#afa775',
950: '#000000',
},
}SCSS
$custom: #afa775; $custom-light: #c7c19d; $custom-dark: #000000;
JSON
{
"hex": "#afa775",
"rgb": {
"r": 175,
"g": 167,
"b": 117
},
"hsl": {
"h": 51.724,
"s": 26.606,
"l": 57.255
},
"oklch": {
"l": 0.72285,
"c": 0.06818,
"h": 100.2
},
"luminance": 0.38036
}Semantic roles & 50–950 ramp
primary
#AFA775
secondary
#B4B7CC
accent
#72C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E