#AAB31B#AAB31B
#AAB31B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.158 H 113.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB31B |
|---|---|
| RGB | rgb(170, 179, 27) |
| HSL | hsl(64, 74%, 40%) |
| HSV | hsv(64, 85%, 70%) |
| CMYK | cmyk(5%, 0%, 84.9%, 29.8%) |
| CIE-LAB | lab(70.08, -19.99, 67.57) |
| CIE-LCH | lch(70.08, 70.47, 106.48°) |
| OKLab | oklab(73.53% -0.0628 0.1452) |
| OKLCH | oklch(73.53% 0.158 113.4) |
| XYZ | xyz(32.8966, 40.8661, 7.1917) |
| Luminance | 0.4087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.18
Snot
#ACBB0D
ΔE00 2.40
Puke Green
#9AAE07
ΔE00 3.14
Puke
#A5A502
ΔE00 4.24
Barf Green
#94AC02
ΔE00 4.32
Vomit
#A2A415
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB31B #241BB3
analogous
#B3701B #AAB31B #5EB31B
triadic
#AAB31B #1BAAB3 #B31BAA
tetradic
#AAB31B #1BB370 #241BB3 #B31B5E
square
#AAB31B #1BB370 #241BB3 #B31B5E
split-complementary
#AAB31B #1B5EB3 #701BB3
monochromatic
#45490B #777E13 #AAB31B #D5DF2C #DFE761
Accessibility & contrast
On white
2.29
#AAB31B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AAB31B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB31B
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB31B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB31B | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab31b; /* rgb */ color: rgb(170, 179, 27); /* oklch */ color: oklch(73.5% 0.158 113.4);
Tailwind
colors: {
custom: {
50: '#c7c969',
500: '#aab31b',
950: '#000000',
},
}SCSS
$custom: #aab31b; $custom-light: #c7c969; $custom-dark: #000000;
JSON
{
"hex": "#aab31b",
"rgb": {
"r": 170,
"g": 179,
"b": 27
},
"hsl": {
"h": 63.553,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.73526,
"c": 0.15823,
"h": 113.4
},
"luminance": 0.40865
}Semantic roles & 50–950 ramp
primary
#AAB31B
secondary
#655ECC
accent
#37F042
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A