#AAA82A#AAA82A
#AAA82A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.140 H 108.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA82A |
|---|---|
| RGB | rgb(170, 168, 42) |
| HSL | hsl(59, 60%, 42%) |
| HSV | hsv(59, 75%, 67%) |
| CMYK | cmyk(0%, 1.2%, 75.3%, 33.3%) |
| CIE-LAB | lab(67.07, -13.87, 60.71) |
| CIE-LCH | lch(67.07, 62.27, 102.87°) |
| OKLab | oklab(71.13% -0.0447 0.1332) |
| OKLCH | oklch(71.13% 0.14 108.6) |
| XYZ | xyz(30.9993, 36.7195, 7.6447) |
| Luminance | 0.3672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.00
Puke
#A5A502
ΔE00 2.18
Mustard Green
#A8B504
ΔE00 4.99
Pea Soup Green
#94A617
ΔE00 5.09
Puke Green
#9AAE07
ΔE00 5.23
Pea Soup
#929901
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA82A #2A2CAA
analogous
#AA682A #AAA82A #6CAA2A
triadic
#AAA82A #2AAAA8 #A82AAA
tetradic
#AAA82A #2AAA68 #2A2CAA #AA2A6C
square
#AAA82A #2AAA68 #2A2CAA #AA2A6C
split-complementary
#AAA82A #2A6CAA #682AAA
monochromatic
#484712 #79781E #AAA82A #D0CE41 #DCDB72
Accessibility & contrast
On white
2.52
#AAA82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#AAA82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA82A
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA82A | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#B69D90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aaa82a; /* rgb */ color: rgb(170, 168, 42); /* oklch */ color: oklch(71.1% 0.140 108.6);
Tailwind
colors: {
custom: {
50: '#c7c16e',
500: '#aaa82a',
950: '#000000',
},
}SCSS
$custom: #aaa82a; $custom-light: #c7c16e; $custom-dark: #000000;
JSON
{
"hex": "#aaa82a",
"rgb": {
"r": 170,
"g": 168,
"b": 42
},
"hsl": {
"h": 59.063,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.71133,
"c": 0.14049,
"h": 108.6
},
"luminance": 0.36718
}Semantic roles & 50–950 ramp
primary
#AAA82A
secondary
#6C6EC3
accent
#47E444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B