#AFAA75#AFAA75
#AFAA75 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.072 H 103.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA75 |
|---|---|
| RGB | rgb(175, 170, 117) |
| HSL | hsl(55, 27%, 57%) |
| HSV | hsv(55, 33%, 69%) |
| CMYK | cmyk(0%, 2.9%, 33.1%, 31.4%) |
| CIE-LAB | lab(68.86, -6.49, 28.02) |
| CIE-LCH | lch(68.86, 28.76, 103.03°) |
| OKLab | oklab(72.93% -0.0166 0.0696) |
| OKLCH | oklch(72.93% 0.072 103.4) |
| XYZ | xyz(35.2652, 39.1485, 22.5249) |
| Luminance | 0.3915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.52
Sand
#C2B280
ΔE00 4.92
Darkkhaki
#BDB76B
ΔE00 5.68
Stone (survey)
#ADA587
ΔE00 6.47
Bland
#AFA88B
ΔE00 6.62
Putty
#BEAE8A
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA75 #757AAF
analogous
#AF8D75 #AFAA75 #97AF75
triadic
#AFAA75 #75AFAA #AA75AF
tetradic
#AFAA75 #75AF8D #757AAF #AF7597
square
#AFAA75 #75AF8D #757AAF #AF7597
split-complementary
#AFAA75 #7597AF #8D75AF
monochromatic
#6B673E #928D55 #AFAA75 #C5C29C #DCDAC2
Accessibility & contrast
On white
2.38
#AFAA75 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#AFAA75 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA75
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA75 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA75 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A671
Deuteranopia (green-blind)
#B5A977
Tritanopia (blue-blind)
#B7A39C
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa75; /* rgb */ color: rgb(175, 170, 117); /* oklch */ color: oklch(72.9% 0.072 103.4);
Tailwind
colors: {
custom: {
50: '#c7c39d',
500: '#afaa75',
950: '#000000',
},
}SCSS
$custom: #afaa75; $custom-light: #c7c39d; $custom-dark: #000000;
JSON
{
"hex": "#afaa75",
"rgb": {
"r": 175,
"g": 170,
"b": 117
},
"hsl": {
"h": 54.828,
"s": 26.606,
"l": 57.255
},
"oklch": {
"l": 0.72927,
"c": 0.07159,
"h": 103.4
},
"luminance": 0.39148
}Semantic roles & 50–950 ramp
primary
#AFAA75
secondary
#B4B6CC
accent
#6DC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E