#AAB31C#AAB31C

#AAB31C 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#AAB31C
RGBrgb(170, 179, 28)
HSLhsl(64, 73%, 41%)
HSVhsv(64, 84%, 70%)
CMYKcmyk(5%, 0%, 84.4%, 29.8%)
CIE-LABlab(70.09, -19.96, 67.35)
CIE-LCHlch(70.09, 70.24, 106.51°)
OKLaboklab(73.53% -0.0627 0.1449)
OKLCHoklch(73.53% 0.158 113.4)
XYZxyz(32.9084, 40.8708, 7.2537)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB31C #251CB3
analogous
#B3701C #AAB31C #5EB31C
triadic
#AAB31C #1CAAB3 #B31CAA
tetradic
#AAB31C #1CB370 #251CB3 #B31C5E
square
#AAB31C #1CB370 #251CB3 #B31C5E
split-complementary
#AAB31C #1C5EB3 #701CB3
monochromatic
#45490B #787E14 #AAB31C #D4DE2E #DFE763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB31C#FFFFFF#000000##000000
##AAB31C1.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)
#C1AD2D
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab31c;
/* rgb */ color: rgb(170, 179, 28);
/* oklch */ color: oklch(73.5% 0.158 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c96a',
    500: '#aab31c',
    950: '#000000',
  },
}
SCSS
$custom: #aab31c;
$custom-light: #c7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#aab31c",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 63.576,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73529,
    "c": 0.15788,
    "h": 113.4
  },
  "luminance": 0.4087
}

Semantic roles & 50–950 ramp

primary
#AAB31C
secondary
#665FCB
accent
#38F043
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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