#AA9E2B#AA9E2B
#AA9E2B is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.131 H 103.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9E2B |
|---|---|
| RGB | rgb(170, 158, 43) |
| HSL | hsl(54, 60%, 42%) |
| HSV | hsv(54, 75%, 67%) |
| CMYK | cmyk(0%, 7.1%, 74.7%, 33.3%) |
| CIE-LAB | lab(64.30, -8.59, 57.77) |
| CIE-LCH | lch(64.30, 58.41, 98.46°) |
| OKLab | oklab(68.93% -0.0298 0.1271) |
| OKLCH | oklch(68.93% 0.131 103.2) |
| XYZ | xyz(29.2418, 33.1754, 7.1482) |
| Luminance | 0.3317 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.19
Puke
#A5A502
ΔE00 4.26
Brown Yellow
#B29705
ΔE00 4.94
Pea Soup
#929901
ΔE00 5.89
Baby Poo
#AB9004
ΔE00 5.89
Muddy Yellow
#BFAC05
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9E2B #2B37AA
analogous
#AA5F2B #AA9E2B #77AA2B
triadic
#AA9E2B #2BAA9E #9E2BAA
tetradic
#AA9E2B #2BAA5F #2B37AA #AA2B77
square
#AA9E2B #2BAA5F #2B37AA #AA2B77
split-complementary
#AA9E2B #2B77AA #5F2BAA
monochromatic
#484312 #79711F #AA9E2B #CFC243 #DCD274
Accessibility & contrast
On white
2.75
#AA9E2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#AA9E2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9E2B
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9E2B | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9915
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #aa9e2b; /* rgb */ color: rgb(170, 158, 43); /* oklch */ color: oklch(68.9% 0.131 103.2);
Tailwind
colors: {
custom: {
50: '#c7ba6d',
500: '#aa9e2b',
950: '#000000',
},
}SCSS
$custom: #aa9e2b; $custom-light: #c7ba6d; $custom-dark: #000000;
JSON
{
"hex": "#aa9e2b",
"rgb": {
"r": 170,
"g": 158,
"b": 43
},
"hsl": {
"h": 54.331,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.68933,
"c": 0.13058,
"h": 103.2
},
"luminance": 0.33174
}Semantic roles & 50–950 ramp
primary
#AA9E2B
secondary
#6E76C3
accent
#54E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A