#AA9E2F#AA9E2F
#AA9E2F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.128 H 103.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9E2F |
|---|---|
| RGB | rgb(170, 158, 47) |
| HSL | hsl(54, 57%, 43%) |
| HSV | hsv(54, 72%, 67%) |
| CMYK | cmyk(0%, 7.1%, 72.4%, 33.3%) |
| CIE-LAB | lab(64.33, -8.40, 56.32) |
| CIE-LCH | lch(64.33, 56.94, 98.49°) |
| OKLab | oklab(68.96% -0.0289 0.1248) |
| OKLCH | oklch(68.96% 0.128 103) |
| XYZ | xyz(29.3188, 33.2062, 7.5539) |
| Luminance | 0.3321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.37
Puke
#A5A502
ΔE00 4.51
Brown Yellow
#B29705
ΔE00 5.11
Baby Poo
#AB9004
ΔE00 6.00
Pea Soup
#929901
ΔE00 6.01
Muddy Yellow
#BFAC05
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9E2F #2F3BAA
analogous
#AA602F #AA9E2F #79AA2F
triadic
#AA9E2F #2FAA9E #9E2FAA
tetradic
#AA9E2F #2FAA60 #2F3BAA #AA2F79
square
#AA9E2F #2FAA60 #2F3BAA #AA2F79
split-complementary
#AA9E2F #2F79AA #602FAA
monochromatic
#4A4514 #7A7122 #AA9E2F #CDC049 #DAD179
Accessibility & contrast
On white
2.75
#AA9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#AA9E2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9E2F
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9E2F | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #aa9e2f; /* rgb */ color: rgb(170, 158, 47); /* oklch */ color: oklch(69.0% 0.128 103.0);
Tailwind
colors: {
custom: {
50: '#c7ba6f',
500: '#aa9e2f',
950: '#000000',
},
}SCSS
$custom: #aa9e2f; $custom-light: #c7ba6f; $custom-dark: #000000;
JSON
{
"hex": "#aa9e2f",
"rgb": {
"r": 170,
"g": 158,
"b": 47
},
"hsl": {
"h": 54.146,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.68961,
"c": 0.1281,
"h": 103
},
"luminance": 0.33205
}Semantic roles & 50–950 ramp
primary
#AA9E2F
secondary
#727AC2
accent
#57E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B