#AFA061#AFA061
#AFA061 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.085 H 96.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA061 |
|---|---|
| RGB | rgb(175, 160, 97) |
| HSL | hsl(48, 33%, 53%) |
| HSV | hsv(48, 45%, 69%) |
| CMYK | cmyk(0%, 8.6%, 44.6%, 31.4%) |
| CIE-LAB | lab(65.84, -3.46, 34.74) |
| CIE-LCH | lch(65.84, 34.91, 95.68°) |
| OKLab | oklab(70.44% -0.0094 0.0842) |
| OKLCH | oklch(70.44% 0.085 96.4) |
| XYZ | xyz(32.4085, 35.1198, 16.3786) |
| Luminance | 0.3512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.83
Sandy Brown
#C4A661
ΔE00 5.41
Dark Khaki
#9B8F55
ΔE00 5.72
Dark Beige
#AC9362
ΔE00 6.05
Sand
#C2B280
ΔE00 6.26
Dark Sand
#A88F59
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA061 #6170AF
analogous
#AF7961 #AFA061 #97AF61
triadic
#AFA061 #61AFA0 #A061AF
tetradic
#AFA061 #61AF79 #6170AF #AF6197
square
#AFA061 #61AF79 #6170AF #AF6197
split-complementary
#AFA061 #6197AF #7961AF
monochromatic
#635A32 #8C7F47 #AFA061 #C4B88A #D8D1B2
Accessibility & contrast
On white
2.62
#AFA061 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#AFA061 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA061
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA061 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA061 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D5C
Deuteranopia (green-blind)
#B0A263
Tritanopia (blue-blind)
#BA9791
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa061; /* rgb */ color: rgb(175, 160, 97); /* oklch */ color: oklch(70.4% 0.085 96.4);
Tailwind
colors: {
custom: {
50: '#c8bb8f',
500: '#afa061',
950: '#000000',
},
}SCSS
$custom: #afa061; $custom-light: #c8bb8f; $custom-dark: #000000;
JSON
{
"hex": "#afa061",
"rgb": {
"r": 175,
"g": 160,
"b": 97
},
"hsl": {
"h": 48.462,
"s": 32.773,
"l": 53.333
},
"oklch": {
"l": 0.70436,
"c": 0.08472,
"h": 96.4
},
"luminance": 0.35119
}Semantic roles & 50–950 ramp
primary
#AFA061
secondary
#A5ACC7
accent
#73C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D