#AAB428#AAB428
#AAB428 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.8% C 0.154 H 113.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB428 |
|---|---|
| RGB | rgb(170, 180, 40) |
| HSL | hsl(64, 64%, 43%) |
| HSV | hsv(64, 78%, 71%) |
| CMYK | cmyk(5.6%, 0%, 77.8%, 29.4%) |
| CIE-LAB | lab(70.42, -20.06, 64.42) |
| CIE-LCH | lch(70.42, 67.47, 107.29°) |
| OKLab | oklab(73.81% -0.0621 0.1407) |
| OKLCH | oklch(73.81% 0.154 113.8) |
| XYZ | xyz(33.2829, 41.3425, 8.2337) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.73
Snot
#ACBB0D
ΔE00 2.53
Puke Green
#9AAE07
ΔE00 3.17
Sick Green
#9DB92C
ΔE00 4.03
Pea
#A4BF20
ΔE00 4.13
Booger Green
#96B403
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB428 #3228B4
analogous
#B47828 #AAB428 #64B428
triadic
#AAB428 #28AAB4 #B428AA
tetradic
#AAB428 #28B478 #3228B4 #B42864
square
#AAB428 #28B478 #3228B4 #B42864
split-complementary
#AAB428 #2864B4 #7828B4
monochromatic
#4B5012 #7B821D #AAB428 #CBD544 #D9E176
Accessibility & contrast
On white
2.27
#AAB428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#AAB428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB428
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB428 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#B6A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #aab428; /* rgb */ color: rgb(170, 180, 40); /* oklch */ color: oklch(73.8% 0.154 113.8);
Tailwind
colors: {
custom: {
50: '#c7ca6e',
500: '#aab428',
950: '#000000',
},
}SCSS
$custom: #aab428; $custom-light: #c7ca6e; $custom-dark: #000000;
JSON
{
"hex": "#aab428",
"rgb": {
"r": 170,
"g": 180,
"b": 40
},
"hsl": {
"h": 64.286,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.73809,
"c": 0.15379,
"h": 113.8
},
"luminance": 0.41342
}Semantic roles & 50–950 ramp
primary
#AAB428
secondary
#7670C8
accent
#41E74D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B