#AFAC75#AFAC75
#AFAC75 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.074 H 105.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAC75 |
|---|---|
| RGB | rgb(175, 172, 117) |
| HSL | hsl(57, 27%, 57%) |
| HSV | hsv(57, 33%, 69%) |
| CMYK | cmyk(0%, 1.7%, 33.1%, 31.4%) |
| CIE-LAB | lab(69.40, -7.55, 28.74) |
| CIE-LCH | lch(69.40, 29.71, 104.71°) |
| OKLab | oklab(73.36% -0.0197 0.0713) |
| OKLCH | oklch(73.36% 0.074 105.4) |
| XYZ | xyz(35.6429, 39.9041, 22.6508) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.39
Darkkhaki
#BDB76B
ΔE00 5.18
Sand
#C2B280
ΔE00 5.31
Stone (survey)
#ADA587
ΔE00 7.15
Bland
#AFA88B
ΔE00 7.23
Putty
#BEAE8A
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAC75 #7578AF
analogous
#AF8F75 #AFAC75 #95AF75
triadic
#AFAC75 #75AFAC #AC75AF
tetradic
#AFAC75 #75AF8F #7578AF #AF7595
square
#AFAC75 #75AF8F #7578AF #AF7595
split-complementary
#AFAC75 #7595AF #8F75AF
monochromatic
#6B693E #928F55 #AFAC75 #C5C39C #DCDBC2
Accessibility & contrast
On white
2.34
#AFAC75 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#AFAC75 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAC75
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAC75 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAC75 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A871
Deuteranopia (green-blind)
#B7AB77
Tritanopia (blue-blind)
#B7A59E
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afac75; /* rgb */ color: rgb(175, 172, 117); /* oklch */ color: oklch(73.4% 0.074 105.4);
Tailwind
colors: {
custom: {
50: '#c7c49d',
500: '#afac75',
950: '#000000',
},
}SCSS
$custom: #afac75; $custom-light: #c7c49d; $custom-dark: #000000;
JSON
{
"hex": "#afac75",
"rgb": {
"r": 175,
"g": 172,
"b": 117
},
"hsl": {
"h": 56.897,
"s": 26.606,
"l": 57.255
},
"oklch": {
"l": 0.73357,
"c": 0.07398,
"h": 105.4
},
"luminance": 0.39903
}Semantic roles & 50–950 ramp
primary
#AFAC75
secondary
#B4B5CC
accent
#6AC365
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E