#AAB321#AAB321

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

Color values

HEX#AAB321
RGBrgb(170, 179, 33)
HSLhsl(64, 69%, 42%)
HSVhsv(64, 82%, 70%)
CMYKcmyk(5%, 0%, 81.6%, 29.8%)
CIE-LABlab(70.10, -19.81, 66.12)
CIE-LCHlch(70.10, 69.03, 106.68°)
OKLaboklab(73.55% -0.0619 0.1431)
OKLCHoklch(73.55% 0.156 113.4)
XYZxyz(32.9733, 40.8968, 7.5955)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB321 #2A21B3
analogous
#B37321 #AAB321 #61B321
triadic
#AAB321 #21AAB3 #B321AA
tetradic
#AAB321 #21B373 #2A21B3 #B32161
square
#AAB321 #21B373 #2A21B3 #B32161
split-complementary
#AAB321 #2161B3 #7321B3
monochromatic
#484C0E #797F17 #AAB321 #D0DA37 #DCE46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #aab321;
/* rgb */ color: rgb(170, 179, 33);
/* oklch */ color: oklch(73.6% 0.156 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c96b',
    500: '#aab321',
    950: '#000000',
  },
}
SCSS
$custom: #aab321;
$custom-light: #c7c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab321",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 63.699,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7355,
    "c": 0.15594,
    "h": 113.4
  },
  "luminance": 0.40896
}

Semantic roles & 50–950 ramp

primary
#AAB321
secondary
#6C66CA
accent
#3CEC47
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB321

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

Preview Lab → · Contrast checker → · Palette generator →

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