#AAAF7B#AAAF7B
#AAAF7B is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.071 H 112.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF7B |
|---|---|
| RGB | rgb(170, 175, 123) |
| HSL | hsl(66, 25%, 58%) |
| HSV | hsv(66, 30%, 69%) |
| CMYK | cmyk(2.9%, 0%, 29.7%, 31.4%) |
| CIE-LAB | lab(69.92, -10.32, 26.15) |
| CIE-LCH | lch(69.92, 28.11, 111.55°) |
| OKLab | oklab(73.7% -0.0272 0.0654) |
| OKLCH | oklch(73.7% 0.071 112.6) |
| XYZ | xyz(35.4827, 40.6364, 24.7094) |
| Luminance | 0.4064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.25
Sage Green
#9CAF88
ΔE00 5.83
Darkkhaki
#BDB76B
ΔE00 6.60
Tan Green
#A9BE70
ΔE00 6.71
Sand
#C2B280
ΔE00 7.44
Light Olive
#ACBF69
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF7B #807BAF
analogous
#AF9A7B #AAAF7B #90AF7B
triadic
#AAAF7B #7BAAAF #AF7BAA
tetradic
#AAAF7B #7BAF9A #807BAF #AF7B90
square
#AAAF7B #7BAF9A #807BAF #AF7B90
split-complementary
#AAAF7B #7B90AF #9A7BAF
monochromatic
#696D42 #8E9359 #AAAF7B #C3C6A1 #DBDDC7
Accessibility & contrast
On white
2.30
#AAAF7B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#AAAF7B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF7B
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF7B | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7AA78
Deuteranopia (green-blind)
#B7AC7D
Tritanopia (blue-blind)
#B0A9A1
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aaaf7b; /* rgb */ color: rgb(170, 175, 123); /* oklch */ color: oklch(73.7% 0.071 112.6);
Tailwind
colors: {
custom: {
50: '#c4c6a1',
500: '#aaaf7b',
950: '#000000',
},
}SCSS
$custom: #aaaf7b; $custom-light: #c4c6a1; $custom-dark: #000000;
JSON
{
"hex": "#aaaf7b",
"rgb": {
"r": 170,
"g": 175,
"b": 123
},
"hsl": {
"h": 65.769,
"s": 24.528,
"l": 58.431
},
"oklch": {
"l": 0.73704,
"c": 0.07083,
"h": 112.6
},
"luminance": 0.40636
}Semantic roles & 50–950 ramp
primary
#AAAF7B
secondary
#BBB9CD
accent
#67C170
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130F
muted
#81827E