#AFAB70#AFAB70
#AFAB70 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.079 H 104.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB70 |
|---|---|
| RGB | rgb(175, 171, 112) |
| HSL | hsl(56, 28%, 56%) |
| HSV | hsv(56, 36%, 69%) |
| CMYK | cmyk(0%, 2.3%, 36%, 31.4%) |
| CIE-LAB | lab(69.05, -7.63, 30.93) |
| CIE-LCH | lch(69.05, 31.86, 103.86°) |
| OKLab | oklab(73.05% -0.0202 0.0762) |
| OKLCH | oklch(73.05% 0.079 104.9) |
| XYZ | xyz(35.1672, 39.4104, 21.0805) |
| Luminance | 0.3941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.47
Darkkhaki
#BDB76B
ΔE00 4.64
Sand
#C2B280
ΔE00 5.45
Stone (survey)
#ADA587
ΔE00 7.78
Putty
#BEAE8A
ΔE00 7.89
Sandstone
#C9AE74
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB70 #7074AF
analogous
#AF8C70 #AFAB70 #94AF70
triadic
#AFAB70 #70AFAB #AB70AF
tetradic
#AFAB70 #70AF8C #7074AF #AF7094
square
#AFAB70 #70AF8C #7074AF #AF7094
split-complementary
#AFAB70 #7094AF #8C70AF
monochromatic
#6A673B #918D51 #AFAB70 #C5C297 #DBD9BE
Accessibility & contrast
On white
2.36
#AFAB70 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AFAB70 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB70
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB70 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB70 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A76C
Deuteranopia (green-blind)
#B7AA72
Tritanopia (blue-blind)
#B8A49C
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afab70; /* rgb */ color: rgb(175, 171, 112); /* oklch */ color: oklch(73.0% 0.079 104.9);
Tailwind
colors: {
custom: {
50: '#c8c39a',
500: '#afab70',
950: '#000000',
},
}SCSS
$custom: #afab70; $custom-light: #c8c39a; $custom-dark: #000000;
JSON
{
"hex": "#afab70",
"rgb": {
"r": 175,
"g": 171,
"b": 112
},
"hsl": {
"h": 56.19,
"s": 28.251,
"l": 56.275
},
"oklch": {
"l": 0.73049,
"c": 0.07888,
"h": 104.9
},
"luminance": 0.3941
}Semantic roles & 50–950 ramp
primary
#AFAB70
secondary
#B0B2CA
accent
#69C563
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E