#AAB028#AAB028

#AAB028 is a light, vivid yellow. Relative luminance 0.398; 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#AAB028
RGBrgb(170, 176, 40)
HSLhsl(63, 63%, 42%)
HSVhsv(63, 77%, 69%)
CMYKcmyk(3.4%, 0%, 77.3%, 31%)
CIE-LABlab(69.29, -18.05, 63.40)
CIE-LCHlch(69.29, 65.92, 105.89°)
OKLaboklab(72.91% -0.0565 0.1385)
OKLCHoklch(72.91% 0.15 112.2)
XYZxyz(32.4870, 39.7507, 7.9684)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB028 #2E28B0
analogous
#B07228 #AAB028 #66B028
triadic
#AAB028 #28AAB0 #B028AA
tetradic
#AAB028 #28B072 #2E28B0 #B02866
square
#AAB028 #28B072 #2E28B0 #B02866
split-complementary
#AAB028 #2866B0 #7228B0
monochromatic
#4A4C11 #7A7E1D #AAB028 #CDD441 #DADF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB028#FFFFFF#000000##000000
##AAB0281.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)
#BEAB34
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab028;
/* rgb */ color: rgb(170, 176, 40);
/* oklch */ color: oklch(72.9% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c76e',
    500: '#aab028',
    950: '#000000',
  },
}
SCSS
$custom: #aab028;
$custom-light: #c7c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab028",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 62.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72909,
    "c": 0.14961,
    "h": 112.2
  },
  "luminance": 0.3975
}

Semantic roles & 50–950 ramp

primary
#AAB028
secondary
#716DC6
accent
#42E649
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB028

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

Preview Lab → · Contrast checker → · Palette generator →

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