#AAAF77#AAAF77
#AAAF77 is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.076 H 112.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF77 |
|---|---|
| RGB | rgb(170, 175, 119) |
| HSL | hsl(65, 26%, 58%) |
| HSV | hsv(65, 32%, 69%) |
| CMYK | cmyk(2.9%, 0%, 32%, 31.4%) |
| CIE-LAB | lab(69.85, -10.86, 28.19) |
| CIE-LCH | lch(69.85, 30.21, 111.06°) |
| OKLab | oklab(73.63% -0.0289 0.0701) |
| OKLCH | oklch(73.63% 0.076 112.4) |
| XYZ | xyz(35.2374, 40.5383, 23.4176) |
| Luminance | 0.4054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.59
Darkkhaki
#BDB76B
ΔE00 5.95
Tan Green
#A9BE70
ΔE00 6.15
Sage Green
#9CAF88
ΔE00 6.47
Light Olive
#ACBF69
ΔE00 6.91
Sand
#C2B280
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF77 #7C77AF
analogous
#AF9877 #AAAF77 #8EAF77
triadic
#AAAF77 #77AAAF #AF77AA
tetradic
#AAAF77 #77AF98 #7C77AF #AF778E
square
#AAAF77 #77AF98 #7C77AF #AF778E
split-complementary
#AAAF77 #778EAF #9877AF
monochromatic
#686C40 #8D9356 #AAAF77 #C2C69E #DADCC4
Accessibility & contrast
On white
2.31
#AAAF77 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#AAAF77 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF77
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF77 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF77 | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7AA73
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#B1A9A1
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aaaf77; /* rgb */ color: rgb(170, 175, 119); /* oklch */ color: oklch(73.6% 0.076 112.4);
Tailwind
colors: {
custom: {
50: '#c4c69e',
500: '#aaaf77',
950: '#000000',
},
}SCSS
$custom: #aaaf77; $custom-light: #c4c69e; $custom-dark: #000000;
JSON
{
"hex": "#aaaf77",
"rgb": {
"r": 170,
"g": 175,
"b": 119
},
"hsl": {
"h": 65.357,
"s": 25.926,
"l": 57.647
},
"oklch": {
"l": 0.73626,
"c": 0.07584,
"h": 112.4
},
"luminance": 0.40538
}Semantic roles & 50–950 ramp
primary
#AAAF77
secondary
#B8B6CC
accent
#65C26E
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E