#AA9C2A#AA9C2A

#AA9C2A is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.129 H 102.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AA9C2A
RGBrgb(170, 156, 42)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.2%, 75.3%, 33.3%)
CIE-LABlab(63.75, -7.57, 57.60)
CIE-LCHlch(63.75, 58.10, 97.49°)
OKLaboklab(68.49% -0.027 0.1266)
OKLCHoklch(68.49% 0.129 102.1)
XYZxyz(28.8853, 32.4914, 6.9400)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9C2A #2A38AA
analogous
#AA5C2A #AA9C2A #78AA2A
triadic
#AA9C2A #2AAA9C #9C2AAA
tetradic
#AA9C2A #2AAA5C #2A38AA #AA2A78
square
#AA9C2A #2AAA5C #2A38AA #AA2A78
split-complementary
#AA9C2A #2A78AA #5C2AAA
monochromatic
#484212 #796F1E #AA9C2A #D0C041 #DCD172

Accessibility & contrast

On white

2.80
#AA9C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AA9C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9C2A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9C2A#FFFFFF#000000##000000
##AA9C2A1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9714
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#B79186
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9c2a;
/* rgb */ color: rgb(170, 156, 42);
/* oklch */ color: oklch(68.5% 0.129 102.1);
Tailwind
colors: {
  custom: {
    50: '#c7b86c',
    500: '#aa9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #aa9c2a;
$custom-light: #c7b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9c2a",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 53.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68489,
    "c": 0.12944,
    "h": 102.1
  },
  "luminance": 0.3249
}

Semantic roles & 50–950 ramp

primary
#AA9C2A
secondary
#6C76C3
accent
#56E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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