#AAAC2B#AAAC2B

#AAAC2B 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.65:1 contrast (WCAG AA passes).

Color values

HEX#AAAC2B
RGBrgb(170, 172, 43)
HSLhsl(61, 60%, 42%)
HSVhsv(61, 75%, 67%)
CMYKcmyk(1.2%, 0%, 75%, 32.5%)
CIE-LABlab(68.19, -15.89, 61.42)
CIE-LCHlch(68.19, 63.44, 104.50°)
OKLaboklab(72.03% -0.0503 0.1349)
OKLCHoklch(72.03% 0.144 110.4)
XYZxyz(31.7673, 38.2264, 7.9901)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC2B #2D2BAC
analogous
#AC6D2B #AAAC2B #6AAC2B
triadic
#AAAC2B #2BAAAC #AC2BAA
tetradic
#AAAC2B #2BAC6D #2D2BAC #AC2B6A
square
#AAAC2B #2BAC6D #2D2BAC #AC2B6A
split-complementary
#AAAC2B #2B6AAC #6D2BAC
monochromatic
#494A13 #7A7B1F #AAAC2B #CED044 #DBDC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #aaac2b;
/* rgb */ color: rgb(170, 172, 43);
/* oklch */ color: oklch(72.0% 0.144 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c46f',
    500: '#aaac2b',
    950: '#000000',
  },
}
SCSS
$custom: #aaac2b;
$custom-light: #c7c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac2b",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 60.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.14393,
    "h": 110.4
  },
  "luminance": 0.38226
}

Semantic roles & 50–950 ramp

primary
#AAAC2B
secondary
#706FC4
accent
#45E347
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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