#AFAB77#AFAB77
#AFAB77 is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.070 H 104.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB77 |
|---|---|
| RGB | rgb(175, 171, 119) |
| HSL | hsl(56, 26%, 58%) |
| HSV | hsv(56, 32%, 69%) |
| CMYK | cmyk(0%, 2.3%, 32%, 31.4%) |
| CIE-LAB | lab(69.16, -6.76, 27.36) |
| CIE-LCH | lch(69.16, 28.18, 103.88°) |
| OKLab | oklab(73.18% -0.0173 0.0681) |
| OKLCH | oklch(73.18% 0.07 104.3) |
| XYZ | xyz(35.5722, 39.5724, 23.2135) |
| Luminance | 0.3957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.84
Sand
#C2B280
ΔE00 5.02
Darkkhaki
#BDB76B
ΔE00 5.77
Stone (survey)
#ADA587
ΔE00 6.40
Bland
#AFA88B
ΔE00 6.50
Putty
#BEAE8A
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB77 #777BAF
analogous
#AF8F77 #AFAB77 #97AF77
triadic
#AFAB77 #77AFAB #AB77AF
tetradic
#AFAB77 #77AF8F #777BAF #AF7797
square
#AFAB77 #77AF8F #777BAF #AF7797
split-complementary
#AFAB77 #7797AF #8F77AF
monochromatic
#6C6940 #938E56 #AFAB77 #C6C39E #DCDBC4
Accessibility & contrast
On white
2.36
#AFAB77 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#AFAB77 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB77
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB77 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB77 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A773
Deuteranopia (green-blind)
#B6AA79
Tritanopia (blue-blind)
#B7A49E
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afab77; /* rgb */ color: rgb(175, 171, 119); /* oklch */ color: oklch(73.2% 0.070 104.3);
Tailwind
colors: {
custom: {
50: '#c7c39e',
500: '#afab77',
950: '#000000',
},
}SCSS
$custom: #afab77; $custom-light: #c7c39e; $custom-dark: #000000;
JSON
{
"hex": "#afab77",
"rgb": {
"r": 175,
"g": 171,
"b": 119
},
"hsl": {
"h": 55.714,
"s": 25.926,
"l": 57.647
},
"oklch": {
"l": 0.7318,
"c": 0.07029,
"h": 104.3
},
"luminance": 0.39572
}Semantic roles & 50–950 ramp
primary
#AFAB77
secondary
#B6B7CC
accent
#6CC265
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E