#AAB948#AAB948
#AAB948 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.138 H 116.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB948 |
|---|---|
| RGB | rgb(170, 185, 72) |
| HSL | hsl(68, 45%, 50%) |
| HSV | hsv(68, 61%, 73%) |
| CMYK | cmyk(8.1%, 0%, 61.1%, 27.5%) |
| CIE-LAB | lab(72.04, -20.75, 54.02) |
| CIE-LCH | lch(72.04, 57.87, 111.01°) |
| OKLab | oklab(75.18% -0.061 0.1239) |
| OKLCH | oklch(75.18% 0.138 116.2) |
| XYZ | xyz(35.0969, 43.7123, 12.7181) |
| Luminance | 0.4371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.93
Sick Green
#9DB92C
ΔE00 3.43
Light Olive Green
#A4BE5C
ΔE00 3.93
Pea
#A4BF20
ΔE00 4.29
Light Olive
#ACBF69
ΔE00 4.74
Sickly Green
#94B21C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB948 #5748B9
analogous
#B99048 #AAB948 #71B948
triadic
#AAB948 #48AAB9 #B948AA
tetradic
#AAB948 #48B990 #5748B9 #B94871
square
#AAB948 #48B990 #5748B9 #B94871
split-complementary
#AAB948 #4871B9 #9048B9
monochromatic
#596125 #828E36 #AAB948 #BFCA74 #D3DBA1
Accessibility & contrast
On white
2.16
#AAB948 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#AAB948 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB948
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB948 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB948 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#C4B14F
Tritanopia (blue-blind)
#B4AFA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aab948; /* rgb */ color: rgb(170, 185, 72); /* oklch */ color: oklch(75.2% 0.138 116.2);
Tailwind
colors: {
custom: {
50: '#c6ce80',
500: '#aab948',
950: '#000000',
},
}SCSS
$custom: #aab948; $custom-light: #c6ce80; $custom-dark: #000000;
JSON
{
"hex": "#aab948",
"rgb": {
"r": 170,
"g": 185,
"b": 72
},
"hsl": {
"h": 67.965,
"s": 44.664,
"l": 50.392
},
"oklch": {
"l": 0.75177,
"c": 0.13811,
"h": 116.2
},
"luminance": 0.43712
}Semantic roles & 50–950 ramp
primary
#AAB948
secondary
#9C95C8
accent
#53D465
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130A
muted
#82827C