#AAA42B#AAA42B
#AAA42B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.136 H 106.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA42B |
|---|---|
| RGB | rgb(170, 164, 43) |
| HSL | hsl(57, 60%, 42%) |
| HSV | hsv(57, 75%, 67%) |
| CMYK | cmyk(0%, 3.5%, 74.7%, 33.3%) |
| CIE-LAB | lab(65.96, -11.75, 59.34) |
| CIE-LCH | lch(65.96, 60.49, 101.20°) |
| OKLab | oklab(70.25% -0.0387 0.1305) |
| OKLCH | oklch(70.25% 0.136 106.5) |
| XYZ | xyz(30.2903, 35.2725, 7.4977) |
| Luminance | 0.3527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.44
Puke
#A5A502
ΔE00 2.60
Pea Soup
#929901
ΔE00 5.46
Muddy Yellow
#BFAC05
ΔE00 5.53
Pea Soup Green
#94A617
ΔE00 5.93
Baby Poop Green
#8F9805
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA42B #2B31AA
analogous
#AA642B #AAA42B #71AA2B
triadic
#AAA42B #2BAAA4 #A42BAA
tetradic
#AAA42B #2BAA64 #2B31AA #AA2B71
square
#AAA42B #2BAA64 #2B31AA #AA2B71
split-complementary
#AAA42B #2B71AA #642BAA
monochromatic
#484612 #79751F #AAA42B #CFC943 #DCD774
Accessibility & contrast
On white
2.61
#AAA42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#AAA42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA42B
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA42B | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E12
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aaa42b; /* rgb */ color: rgb(170, 164, 43); /* oklch */ color: oklch(70.3% 0.136 106.5);
Tailwind
colors: {
custom: {
50: '#c7be6e',
500: '#aaa42b',
950: '#000000',
},
}SCSS
$custom: #aaa42b; $custom-light: #c7be6e; $custom-dark: #000000;
JSON
{
"hex": "#aaa42b",
"rgb": {
"r": 170,
"g": 164,
"b": 43
},
"hsl": {
"h": 57.165,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.70252,
"c": 0.13607,
"h": 106.5
},
"luminance": 0.35271
}Semantic roles & 50–950 ramp
primary
#AAA42B
secondary
#6E72C3
accent
#4CE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B