#AFAA79#AFAA79
#AFAA79 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.067 H 103.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA79 |
|---|---|
| RGB | rgb(175, 170, 121) |
| HSL | hsl(54, 25%, 58%) |
| HSV | hsv(54, 31%, 69%) |
| CMYK | cmyk(0%, 2.9%, 30.9%, 31.4%) |
| CIE-LAB | lab(68.93, -5.97, 25.97) |
| CIE-LCH | lch(68.93, 26.65, 102.95°) |
| OKLab | oklab(73% -0.015 0.0649) |
| OKLCH | oklch(73% 0.067 103) |
| XYZ | xyz(35.5054, 39.2446, 23.7901) |
| Luminance | 0.3924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.41
Sand
#C2B280
ΔE00 4.81
Stone (survey)
#ADA587
ΔE00 5.61
Bland
#AFA88B
ΔE00 5.73
Putty
#BEAE8A
ΔE00 6.31
Darkkhaki
#BDB76B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA79 #797EAF
analogous
#AF8F79 #AFAA79 #99AF79
triadic
#AFAA79 #79AFAA #AA79AF
tetradic
#AFAA79 #79AF8F #797EAF #AF7999
square
#AFAA79 #79AF8F #797EAF #AF7999
split-complementary
#AFAA79 #7999AF #8F79AF
monochromatic
#6D6941 #938E58 #AFAA79 #C6C29F #DDDBC6
Accessibility & contrast
On white
2.37
#AFAA79 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#AFAA79 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA79
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA79 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A776
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#B7A49D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa79; /* rgb */ color: rgb(175, 170, 121); /* oklch */ color: oklch(73.0% 0.067 103.0);
Tailwind
colors: {
custom: {
50: '#c7c3a0',
500: '#afaa79',
950: '#000000',
},
}SCSS
$custom: #afaa79; $custom-light: #c7c3a0; $custom-dark: #000000;
JSON
{
"hex": "#afaa79",
"rgb": {
"r": 175,
"g": 170,
"b": 121
},
"hsl": {
"h": 54.444,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.73004,
"c": 0.0666,
"h": 103
},
"luminance": 0.39244
}Semantic roles & 50–950 ramp
primary
#AFAA79
secondary
#B7B9CD
accent
#6FC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E