#AAAC2D#AAAC2D

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

Color values

HEX#AAAC2D
RGBrgb(170, 172, 45)
HSLhsl(61, 59%, 43%)
HSVhsv(61, 74%, 67%)
CMYKcmyk(1.2%, 0%, 73.8%, 32.5%)
CIE-LABlab(68.20, -15.80, 60.75)
CIE-LCHlch(68.20, 62.77, 104.57°)
OKLaboklab(72.04% -0.0498 0.1338)
OKLCHoklch(72.04% 0.143 110.4)
XYZxyz(31.8049, 38.2414, 8.1881)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC2D #2F2DAC
analogous
#AC6F2D #AAAC2D #6AAC2D
triadic
#AAAC2D #2DAAAC #AC2DAA
tetradic
#AAAC2D #2DAC6F #2F2DAC #AC2D6A
square
#AAAC2D #2DAC6F #2F2DAC #AC2D6A
split-complementary
#AAAC2D #2D6AAC #6F2DAC
monochromatic
#4A4B14 #7A7B20 #AAAC2D #CDCF47 #DADC78

Accessibility & contrast

On white

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

On black

8.65
#AAAC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAC2D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAC2D#FFFFFF#000000##000000
##AAAC2D1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA412
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac2d;
/* rgb */ color: rgb(170, 172, 45);
/* oklch */ color: oklch(72.0% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c470',
    500: '#aaac2d',
    950: '#000000',
  },
}
SCSS
$custom: #aaac2d;
$custom-light: #c7c470;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac2d",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 60.945,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.14279,
    "h": 110.4
  },
  "luminance": 0.38241
}

Semantic roles & 50–950 ramp

primary
#AAAC2D
secondary
#7271C4
accent
#46E249
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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