#AAB027#AAB027

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

Color values

HEX#AAB027
RGBrgb(170, 176, 39)
HSLhsl(63, 64%, 42%)
HSVhsv(63, 78%, 69%)
CMYKcmyk(3.4%, 0%, 77.8%, 31%)
CIE-LABlab(69.29, -18.08, 63.70)
CIE-LCHlch(69.29, 66.22, 105.85°)
OKLaboklab(72.9% -0.0567 0.139)
OKLCHoklch(72.9% 0.15 112.2)
XYZxyz(32.4702, 39.7440, 7.8800)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB027 #2D27B0
analogous
#B07227 #AAB027 #65B027
triadic
#AAB027 #27AAB0 #B027AA
tetradic
#AAB027 #27B072 #2D27B0 #B02765
square
#AAB027 #27B072 #2D27B0 #B02765
split-complementary
#AAB027 #2765B0 #7227B0
monochromatic
#494C11 #7A7E1C #AAB027 #CED540 #DBE072

Accessibility & contrast

On white

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

On black

8.95
#AAB027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB027
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB027#FFFFFF#000000##000000
##AAB0271.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab027;
/* rgb */ color: rgb(170, 176, 39);
/* oklch */ color: oklch(72.9% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c76d',
    500: '#aab027',
    950: '#000000',
  },
}
SCSS
$custom: #aab027;
$custom-light: #c7c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#aab027",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 62.628,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72904,
    "c": 0.15011,
    "h": 112.2
  },
  "luminance": 0.39743
}

Semantic roles & 50–950 ramp

primary
#AAB027
secondary
#706CC7
accent
#41E748
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB027

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

Preview Lab → · Contrast checker → · Palette generator →

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