#AAB022#AAB022

#AAB022 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.152 H 112.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#AAB022
RGBrgb(170, 176, 34)
HSLhsl(63, 68%, 41%)
HSVhsv(63, 81%, 69%)
CMYKcmyk(3.4%, 0%, 80.7%, 31%)
CIE-LABlab(69.26, -18.27, 65.13)
CIE-LCHlch(69.26, 67.64, 105.67°)
OKLaboklab(72.88% -0.0576 0.1411)
OKLCHoklch(72.88% 0.152 112.2)
XYZxyz(32.3928, 39.7130, 7.4721)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB022 #2822B0
analogous
#B06F22 #AAB022 #63B022
triadic
#AAB022 #22AAB0 #B022AA
tetradic
#AAB022 #22B06F #2822B0 #B02263
square
#AAB022 #22B06F #2822B0 #B02263
split-complementary
#AAB022 #2263B0 #6F22B0
monochromatic
#47490E #787D18 #AAB022 #D2D837 #DDE26A

Accessibility & contrast

On white

2.35
#AAB022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#AAB022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB022
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB022#FFFFFF#000000##000000
##AAB0221.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAB30
Tritanopia (blue-blind)
#B6A596
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab022;
/* rgb */ color: rgb(170, 176, 34);
/* oklch */ color: oklch(72.9% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c76b',
    500: '#aab022',
    950: '#000000',
  },
}
SCSS
$custom: #aab022;
$custom-light: #c7c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab022",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 34
  },
  "hsl": {
    "h": 62.535,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72879,
    "c": 0.15244,
    "h": 112.2
  },
  "luminance": 0.39712
}

Semantic roles & 50–950 ramp

primary
#AAB022
secondary
#6A66C8
accent
#3DEA45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB022

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

Preview Lab → · Contrast checker → · Palette generator →

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