#AAB451#AAB451
#AAB451 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.124 H 114.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB451 |
|---|---|
| RGB | rgb(170, 180, 81) |
| HSL | hsl(66, 40%, 51%) |
| HSV | hsv(66, 55%, 71%) |
| CMYK | cmyk(5.6%, 0%, 55%, 29.4%) |
| CIE-LAB | lab(70.72, -17.53, 48.49) |
| CIE-LCH | lch(70.72, 51.56, 109.88°) |
| OKLab | oklab(74.15% -0.051 0.1132) |
| OKLCH | oklch(74.15% 0.124 114.3) |
| XYZ | xyz(34.3847, 41.7832, 14.0366) |
| Luminance | 0.4178 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.99
Light Olive Green
#A4BE5C
ΔE00 4.36
Light Olive
#ACBF69
ΔE00 4.41
Sick Green
#9DB92C
ΔE00 5.21
Tan Green
#A9BE70
ΔE00 5.58
Darkkhaki
#BDB76B
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB451 #5B51B4
analogous
#B48C51 #AAB451 #78B451
triadic
#AAB451 #51AAB4 #B451AA
tetradic
#AAB451 #51B48C #5B51B4 #B45178
square
#AAB451 #51B48C #5B51B4 #B45178
split-complementary
#AAB451 #5178B4 #8C51B4
monochromatic
#5B612A #848C3C #AAB451 #BFC67C #D4D9A7
Accessibility & contrast
On white
2.24
#AAB451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#AAB451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB451
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB451 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#B4AB9E
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #aab451; /* rgb */ color: rgb(170, 180, 81); /* oklch */ color: oklch(74.2% 0.124 114.3);
Tailwind
colors: {
custom: {
50: '#c5ca85',
500: '#aab451',
950: '#000000',
},
}SCSS
$custom: #aab451; $custom-light: #c5ca85; $custom-dark: #000000;
JSON
{
"hex": "#aab451",
"rgb": {
"r": 170,
"g": 180,
"b": 81
},
"hsl": {
"h": 66.061,
"s": 39.759,
"l": 51.176
},
"oklch": {
"l": 0.74152,
"c": 0.12414,
"h": 114.3
},
"luminance": 0.41783
}Semantic roles & 50–950 ramp
primary
#AAB451
secondary
#9F9BC6
accent
#58D064
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C