#AAAA2B#AAAA2B
#AAAA2B is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.142 H 109.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAA2B |
|---|---|
| RGB | rgb(170, 170, 43) |
| HSL | hsl(60, 60%, 42%) |
| HSV | hsv(60, 75%, 67%) |
| CMYK | cmyk(0%, 0%, 74.7%, 33.3%) |
| CIE-LAB | lab(67.63, -14.86, 60.90) |
| CIE-LCH | lch(67.63, 62.68, 103.71°) |
| OKLab | oklab(71.58% -0.0474 0.1338) |
| OKLCH | oklch(71.58% 0.142 109.5) |
| XYZ | xyz(31.3895, 37.4709, 7.8641) |
| Luminance | 0.3747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.21
Puke
#A5A502
ΔE00 2.42
Mustard Green
#A8B504
ΔE00 4.37
Puke Green
#9AAE07
ΔE00 4.70
Pea Soup Green
#94A617
ΔE00 4.80
Barf Green
#94AC02
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAA2B #2B2BAA
analogous
#AA6B2B #AAAA2B #6BAA2B
triadic
#AAAA2B #2BAAAA #AA2BAA
tetradic
#AAAA2B #2BAA6B #2B2BAA #AA2B6B
square
#AAAA2B #2BAA6B #2B2BAA #AA2B6B
split-complementary
#AAAA2B #2B6BAA #6B2BAA
monochromatic
#484812 #79791F #AAAA2B #CFCF43 #DCDC74
Accessibility & contrast
On white
2.47
#AAAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#AAAA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAA2B
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAA2B | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30E
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B69F92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aaaa2b; /* rgb */ color: rgb(170, 170, 43); /* oklch */ color: oklch(71.6% 0.142 109.5);
Tailwind
colors: {
custom: {
50: '#c7c36e',
500: '#aaaa2b',
950: '#000000',
},
}SCSS
$custom: #aaaa2b; $custom-light: #c7c36e; $custom-dark: #000000;
JSON
{
"hex": "#aaaa2b",
"rgb": {
"r": 170,
"g": 170,
"b": 43
},
"hsl": {
"h": 60,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.71584,
"c": 0.1419,
"h": 109.5
},
"luminance": 0.3747
}Semantic roles & 50–950 ramp
primary
#AAAA2B
secondary
#6E6EC3
accent
#45E345
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B