#AAB928#AAB928
#AAB928 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.159 H 115.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB928 |
|---|---|
| RGB | rgb(170, 185, 40) |
| HSL | hsl(66, 64%, 44%) |
| HSV | hsv(66, 78%, 73%) |
| CMYK | cmyk(8.1%, 0%, 78.4%, 27.5%) |
| CIE-LAB | lab(71.82, -22.54, 65.69) |
| CIE-LCH | lch(71.82, 69.45, 108.94°) |
| OKLab | oklab(74.94% -0.0689 0.1434) |
| OKLCH | oklch(74.94% 0.159 115.7) |
| XYZ | xyz(34.3105, 43.3977, 8.5762) |
| Luminance | 0.4340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.66
Mustard Green
#A8B504
ΔE00 1.95
Pea
#A4BF20
ΔE00 2.62
Sick Green
#9DB92C
ΔE00 3.05
Bright Olive
#9CBB04
ΔE00 3.21
Gross Green
#A0BF16
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB928 #3728B9
analogous
#B98028 #AAB928 #62B928
triadic
#AAB928 #28AAB9 #B928AA
tetradic
#AAB928 #28B980 #3728B9 #B92862
square
#AAB928 #28B980 #3728B9 #B92862
split-complementary
#AAB928 #2862B9 #8028B9
monochromatic
#4E5412 #7C871D #AAB928 #C8D747 #D7E279
Accessibility & contrast
On white
2.17
#AAB928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#AAB928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB928
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB928 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B5AE9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #aab928; /* rgb */ color: rgb(170, 185, 40); /* oklch */ color: oklch(74.9% 0.159 115.7);
Tailwind
colors: {
custom: {
50: '#c7cd6f',
500: '#aab928',
950: '#000000',
},
}SCSS
$custom: #aab928; $custom-light: #c7cd6f; $custom-dark: #000000;
JSON
{
"hex": "#aab928",
"rgb": {
"r": 170,
"g": 185,
"b": 40
},
"hsl": {
"h": 66.207,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.7494,
"c": 0.15912,
"h": 115.7
},
"luminance": 0.43397
}Semantic roles & 50–950 ramp
primary
#AAB928
secondary
#7C73CA
accent
#40E752
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B