#AAAC28#AAAC28

#AAAC28 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.0% C 0.146 H 110.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AAAC28
RGBrgb(170, 172, 40)
HSLhsl(61, 62%, 42%)
HSVhsv(61, 77%, 67%)
CMYKcmyk(1.2%, 0%, 76.7%, 32.5%)
CIE-LABlab(68.17, -16.01, 62.38)
CIE-LCHlch(68.17, 64.40, 104.40°)
OKLaboklab(72.01% -0.0509 0.1364)
OKLCHoklch(72.01% 0.146 110.5)
XYZxyz(31.7142, 38.2052, 7.7108)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC28 #2A28AC
analogous
#AC6C28 #AAAC28 #68AC28
triadic
#AAAC28 #28AAAC #AC28AA
tetradic
#AAAC28 #28AC6C #2A28AC #AC2868
square
#AAAC28 #28AC6C #2A28AC #AC2868
split-complementary
#AAAC28 #2868AC #6C28AC
monochromatic
#484911 #797A1C #AAAC28 #D0D23F #DCDE71

Accessibility & contrast

On white

2.43
#AAAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#AAAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAC28
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAC28#FFFFFF#000000##000000
##AAAC281.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA403
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#B6A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac28;
/* rgb */ color: rgb(170, 172, 40);
/* oklch */ color: oklch(72.0% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#c7c46d',
    500: '#aaac28',
    950: '#000000',
  },
}
SCSS
$custom: #aaac28;
$custom-light: #c7c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac28",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 60.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72013,
    "c": 0.14554,
    "h": 110.5
  },
  "luminance": 0.38204
}

Semantic roles & 50–950 ramp

primary
#AAAC28
secondary
#6C6BC5
accent
#42E545
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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