#AAB52E#AAB52E
#AAB52E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.152 H 114.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB52E |
|---|---|
| RGB | rgb(170, 181, 46) |
| HSL | hsl(65, 59%, 45%) |
| HSV | hsv(65, 75%, 71%) |
| CMYK | cmyk(6.1%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(70.73, -20.30, 62.79) |
| CIE-LCH | lch(70.73, 65.99, 107.92°) |
| OKLab | oklab(74.07% -0.0623 0.1383) |
| OKLCH | oklch(74.07% 0.152 114.2) |
| XYZ | xyz(33.5956, 41.7917, 8.8811) |
| Luminance | 0.4179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.15
Snot
#ACBB0D
ΔE00 2.66
Puke Green
#9AAE07
ΔE00 3.33
Sick Green
#9DB92C
ΔE00 3.66
Pea
#A4BF20
ΔE00 3.86
Booger Green
#96B403
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB52E #392EB5
analogous
#B57D2E #AAB52E #67B52E
triadic
#AAB52E #2EAAB5 #B52EAA
tetradic
#AAB52E #2EB57D #392EB5 #B52E67
square
#AAB52E #2EB57D #392EB5 #B52E67
split-complementary
#AAB52E #2E67B5 #7D2EB5
monochromatic
#4E5315 #7C8422 #AAB52E #C7D24E #D7DE7F
Accessibility & contrast
On white
2.24
#AAB52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#AAB52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB52E
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB52E | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC0F
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#B5AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #aab52e; /* rgb */ color: rgb(170, 181, 46); /* oklch */ color: oklch(74.1% 0.152 114.2);
Tailwind
colors: {
custom: {
50: '#c7cb71',
500: '#aab52e',
950: '#000000',
},
}SCSS
$custom: #aab52e; $custom-light: #c7cb71; $custom-dark: #000000;
JSON
{
"hex": "#aab52e",
"rgb": {
"r": 170,
"g": 181,
"b": 46
},
"hsl": {
"h": 64.889,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.74069,
"c": 0.15169,
"h": 114.2
},
"luminance": 0.41791
}Semantic roles & 50–950 ramp
primary
#AAB52E
secondary
#7E78C7
accent
#45E352
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B