#AAB31D#AAB31D

#AAB31D 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#AAB31D
RGBrgb(170, 179, 29)
HSLhsl(64, 72%, 41%)
HSVhsv(64, 84%, 70%)
CMYKcmyk(5%, 0%, 83.8%, 29.8%)
CIE-LABlab(70.09, -19.93, 67.11)
CIE-LCHlch(70.09, 70.01, 106.54°)
OKLaboklab(73.53% -0.0625 0.1446)
OKLCHoklch(73.53% 0.158 113.4)
XYZxyz(32.9205, 40.8757, 7.3178)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB31D #261DB3
analogous
#B3711D #AAB31D #5FB31D
triadic
#AAB31D #1DAAB3 #B31DAA
tetradic
#AAB31D #1DB371 #261DB3 #B31D5F
square
#AAB31D #1DB371 #261DB3 #B31D5F
split-complementary
#AAB31D #1D5FB3 #711DB3
monochromatic
#464A0C #787E14 #AAB31D #D3DD30 #DEE664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB31D#FFFFFF#000000##000000
##AAB31D1.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: #aab31d;
/* rgb */ color: rgb(170, 179, 29);
/* oklch */ color: oklch(73.5% 0.158 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c96a',
    500: '#aab31d',
    950: '#000000',
  },
}
SCSS
$custom: #aab31d;
$custom-light: #c7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#aab31d",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 63.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.15751,
    "h": 113.4
  },
  "luminance": 0.40875
}

Semantic roles & 50–950 ramp

primary
#AAB31D
secondary
#6761CB
accent
#39EF44
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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