#AAB31A#AAB31A

#AAB31A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.159 H 113.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AAB31A
RGBrgb(170, 179, 26)
HSLhsl(64, 75%, 40%)
HSVhsv(64, 85%, 70%)
CMYKcmyk(5%, 0%, 85.5%, 29.8%)
CIE-LABlab(70.08, -20.02, 67.79)
CIE-LCHlch(70.08, 70.68, 106.45°)
OKLaboklab(73.52% -0.0629 0.1456)
OKLCHoklch(73.52% 0.159 113.4)
XYZxyz(32.8852, 40.8616, 7.1318)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB31A #231AB3
analogous
#B36F1A #AAB31A #5EB31A
triadic
#AAB31A #1AAAB3 #B31AAA
tetradic
#AAB31A #1AB36F #231AB3 #B31A5E
square
#AAB31A #1AB36F #231AB3 #B31A5E
split-complementary
#AAB31A #1A5EB3 #6F1AB3
monochromatic
#44480A #777E12 #AAB31A #D5E02A #E0E860

Accessibility & contrast

On white

2.29
#AAB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AAB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB31A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB31A#FFFFFF#000000##000000
##AAB31A1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2B
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab31a;
/* rgb */ color: rgb(170, 179, 26);
/* oklch */ color: oklch(73.5% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c969',
    500: '#aab31a',
    950: '#000000',
  },
}
SCSS
$custom: #aab31a;
$custom-light: #c7c969;
$custom-dark: #000000;
JSON
{
  "hex": "#aab31a",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 63.529,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73522,
    "c": 0.15857,
    "h": 113.4
  },
  "luminance": 0.40861
}

Semantic roles & 50–950 ramp

primary
#AAB31A
secondary
#635DCC
accent
#37F142
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB31A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AAB31A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva