#AAAC2C#AAAC2C

#AAAC2C 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#AAAC2C
RGBrgb(170, 172, 44)
HSLhsl(61, 59%, 42%)
HSVhsv(61, 74%, 67%)
CMYKcmyk(1.2%, 0%, 74.4%, 32.5%)
CIE-LABlab(68.19, -15.84, 61.09)
CIE-LCHlch(68.19, 63.11, 104.54°)
OKLaboklab(72.04% -0.05 0.1344)
OKLCHoklch(72.04% 0.143 110.4)
XYZxyz(31.7858, 38.2338, 8.0879)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC2C #2E2CAC
analogous
#AC6E2C #AAAC2C #6AAC2C
triadic
#AAAC2C #2CAAAC #AC2CAA
tetradic
#AAAC2C #2CAC6E #2E2CAC #AC2C6A
square
#AAAC2C #2CAC6E #2E2CAC #AC2C6A
split-complementary
#AAAC2C #2C6AAC #6E2CAC
monochromatic
#4A4B13 #7A7B20 #AAAC2C #CDD046 #DADC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAC2C#FFFFFF#000000##000000
##AAAC2C1.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)
#BAA410
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac2c;
/* rgb */ color: rgb(170, 172, 44);
/* oklch */ color: oklch(72.0% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c46f',
    500: '#aaac2c',
    950: '#000000',
  },
}
SCSS
$custom: #aaac2c;
$custom-light: #c7c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac2c",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 60.938,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72036,
    "c": 0.14336,
    "h": 110.4
  },
  "luminance": 0.38233
}

Semantic roles & 50–950 ramp

primary
#AAAC2C
secondary
#7170C4
accent
#45E248
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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