#AFAB79#AFAB79
#AFAB79 is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.068 H 104.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB79 |
|---|---|
| RGB | rgb(175, 171, 121) |
| HSL | hsl(56, 25%, 58%) |
| HSV | hsv(56, 31%, 69%) |
| CMYK | cmyk(0%, 2.3%, 30.9%, 31.4%) |
| CIE-LAB | lab(69.20, -6.50, 26.33) |
| CIE-LCH | lch(69.20, 27.12, 103.87°) |
| OKLab | oklab(73.22% -0.0165 0.0658) |
| OKLCH | oklch(73.22% 0.068 104.1) |
| XYZ | xyz(35.6935, 39.6210, 23.8528) |
| Luminance | 0.3962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.28
Sand
#C2B280
ΔE00 4.98
Stone (survey)
#ADA587
ΔE00 5.99
Bland
#AFA88B
ΔE00 6.06
Darkkhaki
#BDB76B
ΔE00 6.14
Putty
#BEAE8A
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB79 #797DAF
analogous
#AF9079 #AFAB79 #98AF79
triadic
#AFAB79 #79AFAB #AB79AF
tetradic
#AFAB79 #79AF90 #797DAF #AF7998
square
#AFAB79 #79AF90 #797DAF #AF7998
split-complementary
#AFAB79 #7998AF #9079AF
monochromatic
#6D6941 #938F58 #AFAB79 #C6C39F #DDDBC6
Accessibility & contrast
On white
2.35
#AFAB79 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#AFAB79 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB79
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB79 | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A776
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#B7A49E
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afab79; /* rgb */ color: rgb(175, 171, 121); /* oklch */ color: oklch(73.2% 0.068 104.1);
Tailwind
colors: {
custom: {
50: '#c7c3a0',
500: '#afab79',
950: '#000000',
},
}SCSS
$custom: #afab79; $custom-light: #c7c3a0; $custom-dark: #000000;
JSON
{
"hex": "#afab79",
"rgb": {
"r": 175,
"g": 171,
"b": 121
},
"hsl": {
"h": 55.556,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.73219,
"c": 0.06778,
"h": 104.1
},
"luminance": 0.3962
}Semantic roles & 50–950 ramp
primary
#AFAB79
secondary
#B7B9CD
accent
#6DC266
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E