#AAAB2D#AAAB2D
#AAAB2D is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.142 H 110.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAB2D |
|---|---|
| RGB | rgb(170, 171, 45) |
| HSL | hsl(60, 58%, 42%) |
| HSV | hsv(60, 74%, 67%) |
| CMYK | cmyk(0.6%, 0%, 73.7%, 32.9%) |
| CIE-LAB | lab(67.92, -15.28, 60.49) |
| CIE-LCH | lch(67.92, 62.39, 104.18°) |
| OKLab | oklab(71.82% -0.0484 0.1333) |
| OKLCH | oklch(71.82% 0.142 110) |
| XYZ | xyz(31.6153, 37.8622, 8.1249) |
| Luminance | 0.3786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.45
Puke
#A5A502
ΔE00 2.71
Mustard Green
#A8B504
ΔE00 4.15
Puke Green
#9AAE07
ΔE00 4.49
Pea Soup Green
#94A617
ΔE00 4.70
Barf Green
#94AC02
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAB2D #2E2DAB
analogous
#AB6D2D #AAAB2D #6BAB2D
triadic
#AAAB2D #2DAAAB #AB2DAA
tetradic
#AAAB2D #2DAB6D #2E2DAB #AB2D6B
square
#AAAB2D #2DAB6D #2E2DAB #AB2D6B
split-complementary
#AAAB2D #2D6BAB #6D2DAB
monochromatic
#4A4A14 #7A7B20 #AAAB2D #CDCE47 #DADB77
Accessibility & contrast
On white
2.45
#AAAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#AAAB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAB2D
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAB2D | 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)
#B9A413
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aaab2d; /* rgb */ color: rgb(170, 171, 45); /* oklch */ color: oklch(71.8% 0.142 110.0);
Tailwind
colors: {
custom: {
50: '#c7c370',
500: '#aaab2d',
950: '#000000',
},
}SCSS
$custom: #aaab2d; $custom-light: #c7c370; $custom-dark: #000000;
JSON
{
"hex": "#aaab2d",
"rgb": {
"r": 170,
"g": 171,
"b": 45
},
"hsl": {
"h": 60.476,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.71819,
"c": 0.14177,
"h": 110
},
"luminance": 0.37861
}Semantic roles & 50–950 ramp
primary
#AAAB2D
secondary
#7171C3
accent
#46E247
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B