#AAB922#AAB922

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

Color values

HEX#AAB922
RGBrgb(170, 185, 34)
HSLhsl(66, 69%, 43%)
HSVhsv(66, 82%, 73%)
CMYKcmyk(8.1%, 0%, 81.6%, 27.5%)
CIE-LABlab(71.80, -22.76, 67.33)
CIE-LCHlch(71.80, 71.07, 108.67°)
OKLaboklab(74.91% -0.07 0.1459)
OKLCHoklch(74.91% 0.162 115.6)
XYZxyz(34.2163, 43.3600, 8.0799)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB922 #3122B9
analogous
#B97C22 #AAB922 #5FB922
triadic
#AAB922 #22AAB9 #B922AA
tetradic
#AAB922 #22B97C #3122B9 #B9225F
square
#AAB922 #22B97C #3122B9 #B9225F
split-complementary
#AAB922 #225FB9 #7C22B9
monochromatic
#4B520F #7A8518 #AAB922 #CCDB3D #D9E571

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB922#FFFFFF#000000##000000
##AAB9221.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)
#C6B132
Tritanopia (blue-blind)
#B5AE9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab922;
/* rgb */ color: rgb(170, 185, 34);
/* oklch */ color: oklch(74.9% 0.162 115.6);
Tailwind
colors: {
  custom: {
    50: '#c7cd6d',
    500: '#aab922',
    950: '#000000',
  },
}
SCSS
$custom: #aab922;
$custom-light: #c7cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aab922",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 34
  },
  "hsl": {
    "h": 65.96,
    "s": 68.95,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74911,
    "c": 0.1618,
    "h": 115.6
  },
  "luminance": 0.43359
}

Semantic roles & 50–950 ramp

primary
#AAB922
secondary
#756BCB
accent
#3CEC4D
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB922

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

Preview Lab → · Contrast checker → · Palette generator →

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