#AAB252#AAB252
#AAB252 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.121 H 113.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB252 |
|---|---|
| RGB | rgb(170, 178, 82) |
| HSL | hsl(65, 38%, 51%) |
| HSV | hsv(65, 54%, 70%) |
| CMYK | cmyk(4.5%, 0%, 53.9%, 30.2%) |
| CIE-LAB | lab(70.17, -16.43, 47.39) |
| CIE-LCH | lch(70.17, 50.15, 109.12°) |
| OKLab | oklab(73.72% -0.0478 0.1109) |
| OKLCH | oklch(73.72% 0.121 113.3) |
| XYZ | xyz(34.0216, 40.9966, 14.1019) |
| Luminance | 0.4100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.52
Light Olive
#ACBF69
ΔE00 4.77
Light Olive Green
#A4BE5C
ΔE00 4.91
Darkkhaki
#BDB76B
ΔE00 5.24
Sick Green
#9DB92C
ΔE00 5.80
Tan Green
#A9BE70
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB252 #5A52B2
analogous
#B28A52 #AAB252 #7AB252
triadic
#AAB252 #52AAB2 #B252AA
tetradic
#AAB252 #52B28A #5A52B2 #B2527A
square
#AAB252 #52B28A #5A52B2 #B2527A
split-complementary
#AAB252 #527AB2 #8A52B2
monochromatic
#5B5F2A #838A3D #AAB252 #BFC57C #D4D8A7
Accessibility & contrast
On white
2.28
#AAB252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#AAB252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB252
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB252 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA49
Deuteranopia (green-blind)
#BDAD57
Tritanopia (blue-blind)
#B4A99D
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #aab252; /* rgb */ color: rgb(170, 178, 82); /* oklch */ color: oklch(73.7% 0.121 113.3);
Tailwind
colors: {
custom: {
50: '#c5c886',
500: '#aab252',
950: '#000000',
},
}SCSS
$custom: #aab252; $custom-light: #c5c886; $custom-dark: #000000;
JSON
{
"hex": "#aab252",
"rgb": {
"r": 170,
"g": 178,
"b": 82
},
"hsl": {
"h": 65,
"s": 38.4,
"l": 50.98
},
"oklch": {
"l": 0.73718,
"c": 0.12076,
"h": 113.3
},
"luminance": 0.40996
}Semantic roles & 50–950 ramp
primary
#AAB252
secondary
#9E9BC5
accent
#59CE63
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C