#AAA62A#AAA62A
#AAA62A is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.139 H 107.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA62A |
|---|---|
| RGB | rgb(170, 166, 42) |
| HSL | hsl(58, 60%, 42%) |
| HSV | hsv(58, 75%, 67%) |
| CMYK | cmyk(0%, 2.4%, 75.3%, 33.3%) |
| CIE-LAB | lab(66.51, -12.84, 60.19) |
| CIE-LCH | lch(66.51, 61.55, 102.04°) |
| OKLab | oklab(70.69% -0.0418 0.1321) |
| OKLCH | oklch(70.69% 0.139 107.6) |
| XYZ | xyz(30.6329, 35.9867, 7.5226) |
| Luminance | 0.3599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.08
Puke
#A5A502
ΔE00 2.24
Pea Soup Green
#94A617
ΔE00 5.47
Pea Soup
#929901
ΔE00 5.52
Muddy Yellow
#BFAC05
ΔE00 5.55
Mustard Green
#A8B504
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA62A #2A2EAA
analogous
#AA662A #AAA62A #6EAA2A
triadic
#AAA62A #2AAAA6 #A62AAA
tetradic
#AAA62A #2AAA66 #2A2EAA #AA2A6E
square
#AAA62A #2AAA66 #2A2EAA #AA2A6E
split-complementary
#AAA62A #2A6EAA #662AAA
monochromatic
#484612 #79761E #AAA62A #D0CC41 #DCD972
Accessibility & contrast
On white
2.56
#AAA62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#AAA62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA62A
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA62A | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#B79B8E
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #aaa62a; /* rgb */ color: rgb(170, 166, 42); /* oklch */ color: oklch(70.7% 0.139 107.6);
Tailwind
colors: {
custom: {
50: '#c7c06e',
500: '#aaa62a',
950: '#000000',
},
}SCSS
$custom: #aaa62a; $custom-light: #c7c06e; $custom-dark: #000000;
JSON
{
"hex": "#aaa62a",
"rgb": {
"r": 170,
"g": 166,
"b": 42
},
"hsl": {
"h": 58.125,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.70689,
"c": 0.13854,
"h": 107.6
},
"luminance": 0.35986
}Semantic roles & 50–950 ramp
primary
#AAA62A
secondary
#6C6FC3
accent
#49E444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B