#AAAF74#AAAF74
#AAAF74 is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.080 H 112.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF74 |
|---|---|
| RGB | rgb(170, 175, 116) |
| HSL | hsl(65, 27%, 57%) |
| HSV | hsv(65, 34%, 69%) |
| CMYK | cmyk(2.9%, 0%, 33.7%, 31.4%) |
| CIE-LAB | lab(69.80, -11.25, 29.72) |
| CIE-LCH | lch(69.80, 31.78, 110.73°) |
| OKLab | oklab(73.57% -0.0302 0.0736) |
| OKLCH | oklch(73.57% 0.08 112.3) |
| XYZ | xyz(35.0601, 40.4674, 22.4836) |
| Luminance | 0.4047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.18
Darkkhaki
#BDB76B
ΔE00 5.51
Tan Green
#A9BE70
ΔE00 5.81
Light Olive
#ACBF69
ΔE00 6.46
Sage Green
#9CAF88
ΔE00 6.97
Sand
#C2B280
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF74 #7974AF
analogous
#AF9774 #AAAF74 #8DAF74
triadic
#AAAF74 #74AAAF #AF74AA
tetradic
#AAAF74 #74AF97 #7974AF #AF748D
square
#AAAF74 #74AF97 #7974AF #AF748D
split-complementary
#AAAF74 #748DAF #9774AF
monochromatic
#676B3E #8D9254 #AAAF74 #C2C59B #DADCC2
Accessibility & contrast
On white
2.31
#AAAF74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#AAAF74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF74
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF74 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8AA70
Deuteranopia (green-blind)
#B8AB77
Tritanopia (blue-blind)
#B1A8A0
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aaaf74; /* rgb */ color: rgb(170, 175, 116); /* oklch */ color: oklch(73.6% 0.080 112.3);
Tailwind
colors: {
custom: {
50: '#c4c69c',
500: '#aaaf74',
950: '#000000',
},
}SCSS
$custom: #aaaf74; $custom-light: #c4c69c; $custom-dark: #000000;
JSON
{
"hex": "#aaaf74",
"rgb": {
"r": 170,
"g": 175,
"b": 116
},
"hsl": {
"h": 65.085,
"s": 26.941,
"l": 57.059
},
"oklch": {
"l": 0.7357,
"c": 0.07953,
"h": 112.3
},
"luminance": 0.40467
}Semantic roles & 50–950 ramp
primary
#AAAF74
secondary
#B5B3CB
accent
#65C36D
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E