#AAAF4F#AAAF4F
#AAAF4F is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.120 H 111.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF4F |
|---|---|
| RGB | rgb(170, 175, 79) |
| HSL | hsl(63, 38%, 50%) |
| HSV | hsv(63, 55%, 69%) |
| CMYK | cmyk(2.9%, 0%, 54.9%, 31.4%) |
| CIE-LAB | lab(69.31, -15.15, 47.80) |
| CIE-LCH | lch(69.31, 50.15, 107.58°) |
| OKLab | oklab(73.02% -0.0445 0.1115) |
| OKLCH | oklch(73.02% 0.12 111.7) |
| XYZ | xyz(33.3196, 39.7712, 13.3170) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 5.14
Darkkhaki
#BDB76B
ΔE00 5.17
Khaki (survey)
#AAA662
ΔE00 5.27
Light Olive
#ACBF69
ΔE00 5.78
Light Olive Green
#A4BE5C
ΔE00 5.95
Vomit
#A2A415
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF4F #544FAF
analogous
#AF844F #AAAF4F #7AAF4F
triadic
#AAAF4F #4FAAAF #AF4FAA
tetradic
#AAAF4F #4FAF84 #544FAF #AF4F7A
square
#AAAF4F #4FAF84 #544FAF #AF4F7A
split-complementary
#AAAF4F #4F7AAF #844FAF
monochromatic
#585B29 #81853C #AAAF4F #BFC279 #D3D5A3
Accessibility & contrast
On white
2.35
#AAAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#AAAF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF4F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF4F | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA845
Deuteranopia (green-blind)
#BBAA54
Tritanopia (blue-blind)
#B4A69A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf4f; /* rgb */ color: rgb(170, 175, 79); /* oklch */ color: oklch(73.0% 0.120 111.7);
Tailwind
colors: {
custom: {
50: '#c5c683',
500: '#aaaf4f',
950: '#000000',
},
}SCSS
$custom: #aaaf4f; $custom-light: #c5c683; $custom-dark: #000000;
JSON
{
"hex": "#aaaf4f",
"rgb": {
"r": 170,
"g": 175,
"b": 79
},
"hsl": {
"h": 63.125,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.73015,
"c": 0.12003,
"h": 111.7
},
"luminance": 0.39771
}Semantic roles & 50–950 ramp
primary
#AAAF4F
secondary
#9997C3
accent
#5ACE60
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C