#AFAB7B#AFAB7B
#AFAB7B is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.065 H 103.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB7B |
|---|---|
| RGB | rgb(175, 171, 123) |
| HSL | hsl(55, 25%, 58%) |
| HSV | hsv(55, 30%, 69%) |
| CMYK | cmyk(0%, 2.3%, 29.7%, 31.4%) |
| CIE-LAB | lab(69.23, -6.24, 25.30) |
| CIE-LCH | lch(69.23, 26.06, 103.85°) |
| OKLab | oklab(73.26% -0.0156 0.0634) |
| OKLCH | oklch(73.26% 0.065 103.9) |
| XYZ | xyz(35.8175, 39.6705, 24.5054) |
| Luminance | 0.3967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.74
Sand
#C2B280
ΔE00 4.97
Stone (survey)
#ADA587
ΔE00 5.57
Bland
#AFA88B
ΔE00 5.62
Putty
#BEAE8A
ΔE00 6.39
Darkkhaki
#BDB76B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB7B #7B7FAF
analogous
#AF917B #AFAB7B #99AF7B
triadic
#AFAB7B #7BAFAB #AB7BAF
tetradic
#AFAB7B #7BAF91 #7B7FAF #AF7B99
square
#AFAB7B #7BAF91 #7B7FAF #AF7B99
split-complementary
#AFAB7B #7B99AF #917BAF
monochromatic
#6D6A42 #938F59 #AFAB7B #C6C3A1 #DDDBC7
Accessibility & contrast
On white
2.35
#AFAB7B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#AFAB7B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB7B
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB7B | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A778
Deuteranopia (green-blind)
#B5AA7D
Tritanopia (blue-blind)
#B7A59E
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afab7b; /* rgb */ color: rgb(175, 171, 123); /* oklch */ color: oklch(73.3% 0.065 103.9);
Tailwind
colors: {
custom: {
50: '#c7c3a1',
500: '#afab7b',
950: '#000000',
},
}SCSS
$custom: #afab7b; $custom-light: #c7c3a1; $custom-dark: #000000;
JSON
{
"hex": "#afab7b",
"rgb": {
"r": 175,
"g": 171,
"b": 123
},
"hsl": {
"h": 55.385,
"s": 24.528,
"l": 58.431
},
"oklch": {
"l": 0.73259,
"c": 0.06526,
"h": 103.9
},
"luminance": 0.3967
}Semantic roles & 50–950 ramp
primary
#AFAB7B
secondary
#B9BACD
accent
#6EC167
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120F
muted
#82817E