#AAAF4B#AAAF4B
#AAAF4B is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.124 H 111.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF4B |
|---|---|
| RGB | rgb(170, 175, 75) |
| HSL | hsl(63, 40%, 49%) |
| HSV | hsv(63, 57%, 69%) |
| CMYK | cmyk(2.9%, 0%, 57.1%, 31.4%) |
| CIE-LAB | lab(69.27, -15.47, 49.62) |
| CIE-LCH | lch(69.27, 51.97, 107.32°) |
| OKLab | oklab(72.97% -0.0458 0.1149) |
| OKLCH | oklch(72.97% 0.124 111.7) |
| XYZ | xyz(33.1783, 39.7147, 12.5732) |
| Luminance | 0.3971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.96
Darkkhaki
#BDB76B
ΔE00 5.50
Vomit
#A2A415
ΔE00 5.52
Khaki (survey)
#AAA662
ΔE00 5.71
Pea Soup Green
#94A617
ΔE00 5.80
Puke Green
#9AAE07
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF4B #504BAF
analogous
#AF824B #AAAF4B #78AF4B
triadic
#AAAF4B #4BAAAF #AF4BAA
tetradic
#AAAF4B #4BAF82 #504BAF #AF4B78
square
#AAAF4B #4BAF82 #504BAF #AF4B78
split-complementary
#AAAF4B #4B78AF #824BAF
monochromatic
#575926 #808439 #AAAF4B #BFC374 #D3D69F
Accessibility & contrast
On white
2.35
#AAAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#AAAF4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF4B
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF4B | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA840
Deuteranopia (green-blind)
#BCAA51
Tritanopia (blue-blind)
#B4A599
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf4b; /* rgb */ color: rgb(170, 175, 75); /* oklch */ color: oklch(73.0% 0.124 111.7);
Tailwind
colors: {
custom: {
50: '#c6c681',
500: '#aaaf4b',
950: '#000000',
},
}SCSS
$custom: #aaaf4b; $custom-light: #c6c681; $custom-dark: #000000;
JSON
{
"hex": "#aaaf4b",
"rgb": {
"r": 170,
"g": 175,
"b": 75
},
"hsl": {
"h": 63,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.7297,
"c": 0.12371,
"h": 111.7
},
"luminance": 0.39714
}Semantic roles & 50–950 ramp
primary
#AAAF4B
secondary
#9693C2
accent
#58D05E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C