#AAB231#AAB231
#AAB231 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.147 H 113.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB231 |
|---|---|
| RGB | rgb(170, 178, 49) |
| HSL | hsl(64, 57%, 45%) |
| HSV | hsv(64, 72%, 70%) |
| CMYK | cmyk(4.5%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.90, -18.65, 60.98) |
| CIE-LCH | lch(69.90, 63.77, 107.01°) |
| OKLab | oklab(73.41% -0.0574 0.135) |
| OKLCH | oklch(73.41% 0.147 113) |
| XYZ | xyz(33.0533, 40.6093, 9.0023) |
| Luminance | 0.4061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.71
Puke Green
#9AAE07
ΔE00 3.48
Snot
#ACBB0D
ΔE00 3.54
Vomit
#A2A415
ΔE00 4.29
Sick Green
#9DB92C
ΔE00 4.39
Barf Green
#94AC02
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB231 #3931B2
analogous
#B27A31 #AAB231 #6AB231
triadic
#AAB231 #31AAB2 #B231AA
tetradic
#AAB231 #31B27A #3931B2 #B2316A
square
#AAB231 #31B27A #3931B2 #B2316A
split-complementary
#AAB231 #316AB2 #7A31B2
monochromatic
#4E5217 #7C8224 #AAB231 #C7CF51 #D7DC81
Accessibility & contrast
On white
2.30
#AAB231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#AAB231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB231
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB231 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B6A799
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab231; /* rgb */ color: rgb(170, 178, 49); /* oklch */ color: oklch(73.4% 0.147 113.0);
Tailwind
colors: {
custom: {
50: '#c7c872',
500: '#aab231',
950: '#000000',
},
}SCSS
$custom: #aab231; $custom-light: #c7c872; $custom-dark: #000000;
JSON
{
"hex": "#aab231",
"rgb": {
"r": 170,
"g": 178,
"b": 49
},
"hsl": {
"h": 63.721,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.73413,
"c": 0.14671,
"h": 113
},
"luminance": 0.40609
}Semantic roles & 50–950 ramp
primary
#AAB231
secondary
#7E79C5
accent
#48E051
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B