#AAB920#AAB920

#AAB920 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.9% C 0.163 H 115.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#AAB920
RGBrgb(170, 185, 32)
HSLhsl(66, 71%, 43%)
HSVhsv(66, 83%, 73%)
CMYKcmyk(8.1%, 0%, 82.7%, 27.5%)
CIE-LABlab(71.79, -22.82, 67.83)
CIE-LCHlch(71.79, 71.57, 108.59°)
OKLaboklab(74.9% -0.0703 0.1466)
OKLCHoklch(74.9% 0.163 115.6)
XYZxyz(34.1883, 43.3488, 7.9324)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB920 #2F20B9
analogous
#B97B20 #AAB920 #5EB920
triadic
#AAB920 #20AAB9 #B920AA
tetradic
#AAB920 #20B97B #2F20B9 #B9205E
square
#AAB920 #20B97B #2F20B9 #B9205E
split-complementary
#AAB920 #205EB9 #7B20B9
monochromatic
#4A510E #7A8517 #AAB920 #CDDD39 #DAE66E

Accessibility & contrast

On white

2.17
#AAB920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#AAB920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB920
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB920#FFFFFF#000000##000000
##AAB9201.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C6B130
Tritanopia (blue-blind)
#B5AE9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab920;
/* rgb */ color: rgb(170, 185, 32);
/* oklch */ color: oklch(74.9% 0.163 115.6);
Tailwind
colors: {
  custom: {
    50: '#c7cd6c',
    500: '#aab920',
    950: '#000000',
  },
}
SCSS
$custom: #aab920;
$custom-light: #c7cd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aab920",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 32
  },
  "hsl": {
    "h": 65.882,
    "s": 70.507,
    "l": 42.549
  },
  "oklch": {
    "l": 0.74903,
    "c": 0.1626,
    "h": 115.6
  },
  "luminance": 0.43348
}

Semantic roles & 50–950 ramp

primary
#AAB920
secondary
#7269CC
accent
#3BED4C
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB920

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

Preview Lab → · Contrast checker → · Palette generator →

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