#AAB021#AAB021

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

Color values

HEX#AAB021
RGBrgb(170, 176, 33)
HSLhsl(63, 68%, 41%)
HSVhsv(63, 81%, 69%)
CMYKcmyk(3.4%, 0%, 81.3%, 31%)
CIE-LABlab(69.26, -18.30, 65.39)
CIE-LCHlch(69.26, 67.91, 105.63°)
OKLaboklab(72.87% -0.0577 0.1415)
OKLCHoklch(72.87% 0.153 112.2)
XYZxyz(32.3785, 39.7073, 7.3972)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB021 #2721B0
analogous
#B06E21 #AAB021 #63B021
triadic
#AAB021 #21AAB0 #B021AA
tetradic
#AAB021 #21B06E #2721B0 #B02163
square
#AAB021 #21B06E #2721B0 #B02163
split-complementary
#AAB021 #2163B0 #6E21B0
monochromatic
#46490E #787C17 #AAB021 #D2D935 #DEE369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB021#FFFFFF#000000##000000
##AAB0211.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)
#BEAB2F
Tritanopia (blue-blind)
#B6A596
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab021;
/* rgb */ color: rgb(170, 176, 33);
/* oklch */ color: oklch(72.9% 0.153 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c76b',
    500: '#aab021',
    950: '#000000',
  },
}
SCSS
$custom: #aab021;
$custom-light: #c7c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab021",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 33
  },
  "hsl": {
    "h": 62.517,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72874,
    "c": 0.15287,
    "h": 112.2
  },
  "luminance": 0.39707
}

Semantic roles & 50–950 ramp

primary
#AAB021
secondary
#6964C8
accent
#3DEB44
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB021

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

Preview Lab → · Contrast checker → · Palette generator →

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