#AAB828#AAB828
#AAB828 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.158 H 115.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB828 |
|---|---|
| RGB | rgb(170, 184, 40) |
| HSL | hsl(66, 64%, 44%) |
| HSV | hsv(66, 78%, 72%) |
| CMYK | cmyk(7.6%, 0%, 78.3%, 27.8%) |
| CIE-LAB | lab(71.54, -22.05, 65.43) |
| CIE-LCH | lch(71.54, 69.05, 108.62°) |
| OKLab | oklab(74.71% -0.0676 0.1429) |
| OKLCH | oklch(74.71% 0.158 115.3) |
| XYZ | xyz(34.1020, 42.9808, 8.5067) |
| Luminance | 0.4298 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.76
Mustard Green
#A8B504
ΔE00 1.80
Pea
#A4BF20
ΔE00 2.91
Sick Green
#9DB92C
ΔE00 3.21
Bright Olive
#9CBB04
ΔE00 3.41
Puke Green
#9AAE07
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB828 #3628B8
analogous
#B87E28 #AAB828 #62B828
triadic
#AAB828 #28AAB8 #B828AA
tetradic
#AAB828 #28B87E #3628B8 #B82862
square
#AAB828 #28B87E #3628B8 #B82862
split-complementary
#AAB828 #2862B8 #7E28B8
monochromatic
#4D5312 #7C861D #AAB828 #C9D746 #D8E279
Accessibility & contrast
On white
2.19
#AAB828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#AAB828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB828
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB828 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C5B036
Tritanopia (blue-blind)
#B5AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #aab828; /* rgb */ color: rgb(170, 184, 40); /* oklch */ color: oklch(74.7% 0.158 115.3);
Tailwind
colors: {
custom: {
50: '#c7cd6f',
500: '#aab828',
950: '#000000',
},
}SCSS
$custom: #aab828; $custom-light: #c7cd6f; $custom-dark: #000000;
JSON
{
"hex": "#aab828",
"rgb": {
"r": 170,
"g": 184,
"b": 40
},
"hsl": {
"h": 65.833,
"s": 64.286,
"l": 43.922
},
"oklch": {
"l": 0.74713,
"c": 0.15805,
"h": 115.3
},
"luminance": 0.4298
}Semantic roles & 50–950 ramp
primary
#AAB828
secondary
#7B72CA
accent
#41E751
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B