#AFA071#AFA071
#AFA071 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.066 H 92.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA071 |
|---|---|
| RGB | rgb(175, 160, 113) |
| HSL | hsl(45, 28%, 56%) |
| HSV | hsv(45, 35%, 69%) |
| CMYK | cmyk(0%, 8.6%, 35.4%, 31.4%) |
| CIE-LAB | lab(66.10, -1.62, 26.52) |
| CIE-LCH | lch(66.10, 26.57, 93.50°) |
| OKLab | oklab(70.72% -0.0028 0.066) |
| OKLCH | oklch(70.72% 0.066 92.5) |
| XYZ | xyz(33.2312, 35.4489, 20.7114) |
| Luminance | 0.3545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dust
#B2996E
ΔE00 4.42
Dark Beige
#AC9362
ΔE00 4.99
Sand
#C2B280
ΔE00 5.25
Stone (survey)
#ADA587
ΔE00 5.29
Putty
#BEAE8A
ΔE00 5.41
Bland
#AFA88B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA071 #7180AF
analogous
#AF8171 #AFA071 #9FAF71
triadic
#AFA071 #71AFA0 #A071AF
tetradic
#AFA071 #71AF81 #7180AF #AF719F
square
#AFA071 #71AF81 #7180AF #AF719F
split-complementary
#AFA071 #719FAF #8171AF
monochromatic
#6A5F3C #918252 #AFA071 #C5BA98 #DBD4BF
Accessibility & contrast
On white
2.60
#AFA071 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#AFA071 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA071
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA071 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA071 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9E6E
Deuteranopia (green-blind)
#AEA373
Tritanopia (blue-blind)
#B89994
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #afa071; /* rgb */ color: rgb(175, 160, 113); /* oklch */ color: oklch(70.7% 0.066 92.5);
Tailwind
colors: {
custom: {
50: '#c8bc9a',
500: '#afa071',
950: '#000000',
},
}SCSS
$custom: #afa071; $custom-light: #c8bc9a; $custom-dark: #000000;
JSON
{
"hex": "#afa071",
"rgb": {
"r": 175,
"g": 160,
"b": 113
},
"hsl": {
"h": 45.484,
"s": 27.928,
"l": 56.471
},
"oklch": {
"l": 0.70721,
"c": 0.06605,
"h": 92.5
},
"luminance": 0.35448
}Semantic roles & 50–950 ramp
primary
#AFA071
secondary
#B1B7CB
accent
#7BC464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110E
muted
#82807E