#AAAF7E#AAAF7E
#AAAF7E is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.067 H 112.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF7E |
|---|---|
| RGB | rgb(170, 175, 126) |
| HSL | hsl(66, 23%, 59%) |
| HSV | hsv(66, 28%, 69%) |
| CMYK | cmyk(2.9%, 0%, 28%, 31.4%) |
| CIE-LAB | lab(69.97, -9.91, 24.61) |
| CIE-LCH | lch(69.97, 26.53, 111.94°) |
| OKLab | oklab(73.76% -0.026 0.0618) |
| OKLCH | oklch(73.76% 0.067 112.8) |
| XYZ | xyz(35.6734, 40.7127, 25.7137) |
| Luminance | 0.4071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.39
Khaki (survey)
#AAA662
ΔE00 5.80
Darkkhaki
#BDB76B
ΔE00 7.15
Tan Green
#A9BE70
ΔE00 7.19
Bland
#AFA88B
ΔE00 7.45
Sand
#C2B280
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF7E #837EAF
analogous
#AF9C7E #AAAF7E #92AF7E
triadic
#AAAF7E #7EAAAF #AF7EAA
tetradic
#AAAF7E #7EAF9C #837EAF #AF7E92
square
#AAAF7E #7EAF9C #837EAF #AF7E92
split-complementary
#AAAF7E #7E92AF #9C7EAF
monochromatic
#6A6E44 #8E945C #AAAF7E #C3C6A4 #DCDECA
Accessibility & contrast
On white
2.30
#AAAF7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#AAAF7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF7E
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF7E | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6AA7B
Deuteranopia (green-blind)
#B6AC80
Tritanopia (blue-blind)
#B0A9A2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aaaf7e; /* rgb */ color: rgb(170, 175, 126); /* oklch */ color: oklch(73.8% 0.067 112.8);
Tailwind
colors: {
custom: {
50: '#c4c6a3',
500: '#aaaf7e',
950: '#000000',
},
}SCSS
$custom: #aaaf7e; $custom-light: #c4c6a3; $custom-dark: #000000;
JSON
{
"hex": "#aaaf7e",
"rgb": {
"r": 170,
"g": 175,
"b": 126
},
"hsl": {
"h": 66.122,
"s": 23.445,
"l": 59.02
},
"oklch": {
"l": 0.73764,
"c": 0.06702,
"h": 112.8
},
"luminance": 0.40712
}Semantic roles & 50–950 ramp
primary
#AAAF7E
secondary
#BDBBCE
accent
#68C071
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#12130F
muted
#81827F