#AAAA2E#AAAA2E
#AAAA2E is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.140 H 109.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAA2E |
|---|---|
| RGB | rgb(170, 170, 46) |
| HSL | hsl(60, 57%, 42%) |
| HSV | hsv(60, 73%, 67%) |
| CMYK | cmyk(0%, 0%, 72.9%, 33.3%) |
| CIE-LAB | lab(67.65, -14.72, 59.88) |
| CIE-LCH | lch(67.65, 61.66, 103.81°) |
| OKLab | oklab(71.6% -0.0467 0.1322) |
| OKLCH | oklch(71.6% 0.14 109.5) |
| XYZ | xyz(31.4466, 37.4937, 8.1647) |
| Luminance | 0.3749 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.35
Puke
#A5A502
ΔE00 2.65
Mustard Green
#A8B504
ΔE00 4.51
Puke Green
#9AAE07
ΔE00 4.77
Pea Soup Green
#94A617
ΔE00 4.81
Barf Green
#94AC02
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAA2E #2E2EAA
analogous
#AA6C2E #AAAA2E #6CAA2E
triadic
#AAAA2E #2EAAAA #AA2EAA
tetradic
#AAAA2E #2EAA6C #2E2EAA #AA2E6C
square
#AAAA2E #2EAA6C #2E2EAA #AA2E6C
split-complementary
#AAAA2E #2E6CAA #6C2EAA
monochromatic
#4A4A14 #7A7A21 #AAAA2E #CDCD48 #DADA78
Accessibility & contrast
On white
2.47
#AAAA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#AAAA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAA2E
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAA2E | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#B9A738
Tritanopia (blue-blind)
#B69F92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aaaa2e; /* rgb */ color: rgb(170, 170, 46); /* oklch */ color: oklch(71.6% 0.140 109.5);
Tailwind
colors: {
custom: {
50: '#c7c370',
500: '#aaaa2e',
950: '#000000',
},
}SCSS
$custom: #aaaa2e; $custom-light: #c7c370; $custom-dark: #000000;
JSON
{
"hex": "#aaaa2e",
"rgb": {
"r": 170,
"g": 170,
"b": 46
},
"hsl": {
"h": 60,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.71603,
"c": 0.14018,
"h": 109.5
},
"luminance": 0.37493
}Semantic roles & 50–950 ramp
primary
#AAAA2E
secondary
#7171C3
accent
#47E147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B