#AAB12D#AAB12D
#AAB12D is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.2% C 0.148 H 112.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB12D |
|---|---|
| RGB | rgb(170, 177, 45) |
| HSL | hsl(63, 59%, 44%) |
| HSV | hsv(63, 75%, 69%) |
| CMYK | cmyk(4%, 0%, 74.6%, 30.6%) |
| CIE-LAB | lab(69.60, -18.34, 62.07) |
| CIE-LCH | lch(69.60, 64.72, 106.46°) |
| OKLab | oklab(73.16% -0.0569 0.1366) |
| OKLCH | oklch(73.16% 0.148 112.6) |
| XYZ | xyz(32.7744, 40.1806, 8.5113) |
| Luminance | 0.4018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.57
Puke Green
#9AAE07
ΔE00 3.42
Snot
#ACBB0D
ΔE00 3.57
Vomit
#A2A415
ΔE00 3.90
Puke
#A5A502
ΔE00 4.09
Barf Green
#94AC02
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB12D #342DB1
analogous
#B1762D #AAB12D #68B12D
triadic
#AAB12D #2DAAB1 #B12DAA
tetradic
#AAB12D #2DB176 #342DB1 #B12D68
square
#AAB12D #2DB176 #342DB1 #B12D68
split-complementary
#AAB12D #2D68B1 #762DB1
monochromatic
#4C4F14 #7B8021 #AAB12D #CAD14A #D8DD7B
Accessibility & contrast
On white
2.32
#AAB12D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#AAB12D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB12D
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB12D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB12D | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #aab12d; /* rgb */ color: rgb(170, 177, 45); /* oklch */ color: oklch(73.2% 0.148 112.6);
Tailwind
colors: {
custom: {
50: '#c7c870',
500: '#aab12d',
950: '#000000',
},
}SCSS
$custom: #aab12d; $custom-light: #c7c870; $custom-dark: #000000;
JSON
{
"hex": "#aab12d",
"rgb": {
"r": 170,
"g": 177,
"b": 45
},
"hsl": {
"h": 63.182,
"s": 59.459,
"l": 43.529
},
"oklch": {
"l": 0.73162,
"c": 0.14798,
"h": 112.6
},
"luminance": 0.4018
}Semantic roles & 50–950 ramp
primary
#AAB12D
secondary
#7874C6
accent
#45E34E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B