#AFAA70#AFAA70
#AFAA70 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.078 H 103.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA70 |
|---|---|
| RGB | rgb(175, 170, 112) |
| HSL | hsl(55, 28%, 56%) |
| HSV | hsv(55, 36%, 69%) |
| CMYK | cmyk(0%, 2.9%, 36%, 31.4%) |
| CIE-LAB | lab(68.78, -7.10, 30.58) |
| CIE-LCH | lch(68.78, 31.39, 103.08°) |
| OKLab | oklab(72.83% -0.0187 0.0754) |
| OKLCH | oklch(72.83% 0.078 103.9) |
| XYZ | xyz(34.9790, 39.0341, 21.0178) |
| Luminance | 0.3903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.51
Darkkhaki
#BDB76B
ΔE00 4.89
Sand
#C2B280
ΔE00 5.25
Stone (survey)
#ADA587
ΔE00 7.48
Putty
#BEAE8A
ΔE00 7.60
Sandstone
#C9AE74
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA70 #7075AF
analogous
#AF8B70 #AFAA70 #95AF70
triadic
#AFAA70 #70AFAA #AA70AF
tetradic
#AFAA70 #70AF8B #7075AF #AF7095
square
#AFAA70 #70AF8B #7075AF #AF7095
split-complementary
#AFAA70 #7095AF #8B70AF
monochromatic
#6A663B #918C51 #AFAA70 #C5C197 #DBD9BE
Accessibility & contrast
On white
2.38
#AFAA70 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#AFAA70 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA70
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA70 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA70 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A66C
Deuteranopia (green-blind)
#B6A972
Tritanopia (blue-blind)
#B8A39B
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa70; /* rgb */ color: rgb(175, 170, 112); /* oklch */ color: oklch(72.8% 0.078 103.9);
Tailwind
colors: {
custom: {
50: '#c8c399',
500: '#afaa70',
950: '#000000',
},
}SCSS
$custom: #afaa70; $custom-light: #c8c399; $custom-dark: #000000;
JSON
{
"hex": "#afaa70",
"rgb": {
"r": 175,
"g": 170,
"b": 112
},
"hsl": {
"h": 55.238,
"s": 28.251,
"l": 56.275
},
"oklch": {
"l": 0.72834,
"c": 0.07771,
"h": 103.9
},
"luminance": 0.39033
}Semantic roles & 50–950 ramp
primary
#AFAA70
secondary
#B0B2CA
accent
#6BC563
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E