#AFAE7A#AFAE7A
#AFAE7A is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.070 H 107.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE7A |
|---|---|
| RGB | rgb(175, 174, 122) |
| HSL | hsl(59, 25%, 58%) |
| HSV | hsv(59, 30%, 69%) |
| CMYK | cmyk(0%, 0.6%, 30.3%, 31.4%) |
| CIE-LAB | lab(70.03, -7.96, 26.90) |
| CIE-LCH | lch(70.03, 28.05, 106.48°) |
| OKLab | oklab(73.88% -0.0206 0.0671) |
| OKLCH | oklch(73.88% 0.07 107.1) |
| XYZ | xyz(36.3283, 40.7918, 24.3685) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.38
Sand
#C2B280
ΔE00 5.60
Darkkhaki
#BDB76B
ΔE00 5.68
Bland
#AFA88B
ΔE00 6.90
Stone (survey)
#ADA587
ΔE00 6.95
Sage Green
#9CAF88
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE7A #7A7BAF
analogous
#AF937A #AFAE7A #95AF7A
triadic
#AFAE7A #7AAFAE #AE7AAF
tetradic
#AFAE7A #7AAF93 #7A7BAF #AF7A95
square
#AFAE7A #7AAF93 #7A7BAF #AF7A95
split-complementary
#AFAE7A #7A95AF #937AAF
monochromatic
#6D6C42 #939259 #AFAE7A #C6C5A0 #DDDDC6
Accessibility & contrast
On white
2.29
#AFAE7A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#AFAE7A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE7A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE7A | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7AA76
Deuteranopia (green-blind)
#B8AC7C
Tritanopia (blue-blind)
#B7A8A0
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afae7a; /* rgb */ color: rgb(175, 174, 122); /* oklch */ color: oklch(73.9% 0.070 107.1);
Tailwind
colors: {
custom: {
50: '#c7c6a1',
500: '#afae7a',
950: '#000000',
},
}SCSS
$custom: #afae7a; $custom-light: #c7c6a1; $custom-dark: #000000;
JSON
{
"hex": "#afae7a",
"rgb": {
"r": 175,
"g": 174,
"b": 122
},
"hsl": {
"h": 58.868,
"s": 24.883,
"l": 58.235
},
"oklch": {
"l": 0.73883,
"c": 0.07022,
"h": 107.1
},
"luminance": 0.40791
}Semantic roles & 50–950 ramp
primary
#AFAE7A
secondary
#B8B8CD
accent
#68C166
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130F
muted
#82827E