#AFAB75#AFAB75
#AFAB75 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.073 H 104.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB75 |
|---|---|
| RGB | rgb(175, 171, 117) |
| HSL | hsl(56, 27%, 57%) |
| HSV | hsv(56, 33%, 69%) |
| CMYK | cmyk(0%, 2.3%, 33.1%, 31.4%) |
| CIE-LAB | lab(69.13, -7.02, 28.38) |
| CIE-LCH | lch(69.13, 29.23, 103.89°) |
| OKLab | oklab(73.14% -0.0182 0.0705) |
| OKLCH | oklch(73.14% 0.073 104.5) |
| XYZ | xyz(35.4533, 39.5249, 22.5876) |
| Luminance | 0.3952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.42
Sand
#C2B280
ΔE00 5.10
Darkkhaki
#BDB76B
ΔE00 5.41
Stone (survey)
#ADA587
ΔE00 6.80
Bland
#AFA88B
ΔE00 6.92
Putty
#BEAE8A
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB75 #7579AF
analogous
#AF8E75 #AFAB75 #96AF75
triadic
#AFAB75 #75AFAB #AB75AF
tetradic
#AFAB75 #75AF8E #7579AF #AF7596
square
#AFAB75 #75AF8E #7579AF #AF7596
split-complementary
#AFAB75 #7596AF #8E75AF
monochromatic
#6B683E #928E55 #AFAB75 #C5C39C #DCDAC2
Accessibility & contrast
On white
2.36
#AFAB75 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#AFAB75 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB75
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB75 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB75 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A771
Deuteranopia (green-blind)
#B6AA77
Tritanopia (blue-blind)
#B7A49D
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afab75; /* rgb */ color: rgb(175, 171, 117); /* oklch */ color: oklch(73.1% 0.073 104.5);
Tailwind
colors: {
custom: {
50: '#c7c39d',
500: '#afab75',
950: '#000000',
},
}SCSS
$custom: #afab75; $custom-light: #c7c39d; $custom-dark: #000000;
JSON
{
"hex": "#afab75",
"rgb": {
"r": 175,
"g": 171,
"b": 117
},
"hsl": {
"h": 55.862,
"s": 26.606,
"l": 57.255
},
"oklch": {
"l": 0.73142,
"c": 0.07277,
"h": 104.5
},
"luminance": 0.39524
}Semantic roles & 50–950 ramp
primary
#AFAB75
secondary
#B4B6CC
accent
#6BC365
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E