#AA9D2C#AA9D2C
#AA9D2C is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.7% C 0.129 H 102.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9D2C |
|---|---|
| RGB | rgb(170, 157, 44) |
| HSL | hsl(54, 59%, 42%) |
| HSV | hsv(54, 74%, 67%) |
| CMYK | cmyk(0%, 7.6%, 74.1%, 33.3%) |
| CIE-LAB | lab(64.03, -8.02, 57.15) |
| CIE-LCH | lch(64.03, 57.71, 97.98°) |
| OKLab | oklab(68.72% -0.0281 0.126) |
| OKLCH | oklch(68.72% 0.129 102.6) |
| XYZ | xyz(29.0905, 32.8431, 7.1894) |
| Luminance | 0.3284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.58
Puke
#A5A502
ΔE00 4.66
Brown Yellow
#B29705
ΔE00 4.69
Baby Poo
#AB9004
ΔE00 5.56
Baby Shit Brown
#AD900D
ΔE00 5.86
Pea Soup
#929901
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9D2C #2C39AA
analogous
#AA5E2C #AA9D2C #78AA2C
triadic
#AA9D2C #2CAA9D #9D2CAA
tetradic
#AA9D2C #2CAA5E #2C39AA #AA2C78
square
#AA9D2C #2CAA5E #2C39AA #AA2C78
split-complementary
#AA9D2C #2C78AA #5E2CAA
monochromatic
#494313 #79701F #AA9D2C #CFC044 #DBD175
Accessibility & contrast
On white
2.77
#AA9D2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#AA9D2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9D2C
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9D2C | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9817
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#B79287
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #aa9d2c; /* rgb */ color: rgb(170, 157, 44); /* oklch */ color: oklch(68.7% 0.129 102.6);
Tailwind
colors: {
custom: {
50: '#c7b96d',
500: '#aa9d2c',
950: '#000000',
},
}SCSS
$custom: #aa9d2c; $custom-light: #c7b96d; $custom-dark: #000000;
JSON
{
"hex": "#aa9d2c",
"rgb": {
"r": 170,
"g": 157,
"b": 44
},
"hsl": {
"h": 53.81,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.68721,
"c": 0.1291,
"h": 102.6
},
"luminance": 0.32842
}Semantic roles & 50–950 ramp
primary
#AA9D2C
secondary
#6F78C3
accent
#56E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B