#AAB31E#AAB31E

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

Color values

HEX#AAB31E
RGBrgb(170, 179, 30)
HSLhsl(64, 71%, 41%)
HSVhsv(64, 83%, 70%)
CMYKcmyk(5%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.09, -19.90, 66.88)
CIE-LCHlch(70.09, 69.77, 106.57°)
OKLaboklab(73.54% -0.0624 0.1442)
OKLCHoklch(73.54% 0.157 113.4)
XYZxyz(32.9331, 40.8807, 7.3840)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB31E #271EB3
analogous
#B3711E #AAB31E #5FB31E
triadic
#AAB31E #1EAAB3 #B31EAA
tetradic
#AAB31E #1EB371 #271EB3 #B31E5F
square
#AAB31E #1EB371 #271EB3 #B31E5F
split-complementary
#AAB31E #1E5FB3 #711EB3
monochromatic
#464A0C #787F15 #AAB31E #D2DD32 #DEE566

Accessibility & contrast

On white

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

On black

9.18
#AAB31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB31E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB31E#FFFFFF#000000##000000
##AAB31E1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab31e;
/* rgb */ color: rgb(170, 179, 30);
/* oklch */ color: oklch(73.5% 0.157 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c96a',
    500: '#aab31e',
    950: '#000000',
  },
}
SCSS
$custom: #aab31e;
$custom-light: #c7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#aab31e",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 63.624,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73537,
    "c": 0.15713,
    "h": 113.4
  },
  "luminance": 0.4088
}

Semantic roles & 50–950 ramp

primary
#AAB31E
secondary
#6962CB
accent
#3AEE45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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