#AAAB2E#AAAB2E
#AAAB2E is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.141 H 109.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAB2E |
|---|---|
| RGB | rgb(170, 171, 46) |
| HSL | hsl(60, 58%, 43%) |
| HSV | hsv(60, 73%, 67%) |
| CMYK | cmyk(0.6%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(67.92, -15.24, 60.14) |
| CIE-LCH | lch(67.92, 62.04, 104.22°) |
| OKLab | oklab(71.83% -0.0482 0.1327) |
| OKLCH | oklch(71.83% 0.141 109.9) |
| XYZ | xyz(31.6347, 37.8700, 8.2275) |
| Luminance | 0.3787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.50
Puke
#A5A502
ΔE00 2.78
Mustard Green
#A8B504
ΔE00 4.20
Puke Green
#9AAE07
ΔE00 4.52
Pea Soup Green
#94A617
ΔE00 4.70
Barf Green
#94AC02
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAB2E #2F2EAB
analogous
#AB6D2E #AAAB2E #6BAB2E
triadic
#AAAB2E #2EAAAB #AB2EAA
tetradic
#AAAB2E #2EAB6D #2F2EAB #AB2E6B
square
#AAAB2E #2EAB6D #2F2EAB #AB2E6B
split-complementary
#AAAB2E #2E6BAB #6D2EAB
monochromatic
#4A4B14 #7A7B21 #AAAB2E #CDCE48 #DADB79
Accessibility & contrast
On white
2.45
#AAAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#AAAB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAB2E
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAB2E | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aaab2e; /* rgb */ color: rgb(170, 171, 46); /* oklch */ color: oklch(71.8% 0.141 109.9);
Tailwind
colors: {
custom: {
50: '#c7c370',
500: '#aaab2e',
950: '#000000',
},
}SCSS
$custom: #aaab2e; $custom-light: #c7c370; $custom-dark: #000000;
JSON
{
"hex": "#aaab2e",
"rgb": {
"r": 170,
"g": 171,
"b": 46
},
"hsl": {
"h": 60.48,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.71826,
"c": 0.14119,
"h": 109.9
},
"luminance": 0.37869
}Semantic roles & 50–950 ramp
primary
#AAAB2E
secondary
#7272C3
accent
#47E148
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B