#AAAC2A#AAAC2A

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

Color values

HEX#AAAC2A
RGBrgb(170, 172, 42)
HSLhsl(61, 61%, 42%)
HSVhsv(61, 76%, 67%)
CMYKcmyk(1.2%, 0%, 75.6%, 32.5%)
CIE-LABlab(68.18, -15.93, 61.74)
CIE-LCHlch(68.18, 63.77, 104.47°)
OKLaboklab(72.02% -0.0504 0.1354)
OKLCHoklch(72.02% 0.144 110.4)
XYZxyz(31.7491, 38.2192, 7.8946)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC2A #2C2AAC
analogous
#AC6D2A #AAAC2A #69AC2A
triadic
#AAAC2A #2AAAAC #AC2AAA
tetradic
#AAAC2A #2AAC6D #2C2AAC #AC2A69
square
#AAAC2A #2AAC6D #2C2AAC #AC2A69
split-complementary
#AAAC2A #2A69AC #6D2AAC
monochromatic
#494A12 #797B1E #AAAC2A #CFD142 #DBDD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAC2A#FFFFFF#000000##000000
##AAAC2A1.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)
#BAA40A
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac2a;
/* rgb */ color: rgb(170, 172, 42);
/* oklch */ color: oklch(72.0% 0.144 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c46e',
    500: '#aaac2a',
    950: '#000000',
  },
}
SCSS
$custom: #aaac2a;
$custom-light: #c7c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac2a",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 60.923,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72024,
    "c": 0.14447,
    "h": 110.4
  },
  "luminance": 0.38218
}

Semantic roles & 50–950 ramp

primary
#AAAC2A
secondary
#6F6DC4
accent
#44E446
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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