#AAB023#AAB023

#AAB023 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#AAB023
RGBrgb(170, 176, 35)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 80%, 69%)
CMYKcmyk(3.4%, 0%, 80.1%, 31%)
CIE-LABlab(69.27, -18.23, 64.85)
CIE-LCHlch(69.27, 67.37, 105.70°)
OKLaboklab(72.88% -0.0574 0.1407)
OKLCHoklch(72.88% 0.152 112.2)
XYZxyz(32.4074, 39.7189, 7.5492)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB023 #2923B0
analogous
#B07023 #AAB023 #64B023
triadic
#AAB023 #23AAB0 #B023AA
tetradic
#AAB023 #23B070 #2923B0 #B02364
square
#AAB023 #23B070 #2923B0 #B02364
split-complementary
#AAB023 #2364B0 #7023B0
monochromatic
#474A0F #797D19 #AAB023 #D1D839 #DDE26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB023#FFFFFF#000000##000000
##AAB0231.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)
#BEA800
Deuteranopia (green-blind)
#BEAB31
Tritanopia (blue-blind)
#B6A596
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab023;
/* rgb */ color: rgb(170, 176, 35);
/* oklch */ color: oklch(72.9% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c76c',
    500: '#aab023',
    950: '#000000',
  },
}
SCSS
$custom: #aab023;
$custom-light: #c7c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#aab023",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 62.553,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.152,
    "h": 112.2
  },
  "luminance": 0.39718
}

Semantic roles & 50–950 ramp

primary
#AAB023
secondary
#6B67C8
accent
#3EEA45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB023

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

Preview Lab → · Contrast checker → · Palette generator →

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