#AA9E2A#AA9E2A

#AA9E2A is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.131 H 103.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AA9E2A
RGBrgb(170, 158, 42)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.1%, 75.3%, 33.3%)
CIE-LABlab(64.30, -8.64, 58.12)
CIE-LCHlch(64.30, 58.76, 98.45°)
OKLaboklab(68.93% -0.03 0.1277)
OKLCHoklch(68.93% 0.131 103.2)
XYZxyz(29.2236, 33.1682, 7.0528)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E2A #2A36AA
analogous
#AA5E2A #AA9E2A #76AA2A
triadic
#AA9E2A #2AAA9E #9E2AAA
tetradic
#AA9E2A #2AAA5E #2A36AA #AA2A76
square
#AA9E2A #2AAA5E #2A36AA #AA2A76
split-complementary
#AA9E2A #2A76AA #5E2AAA
monochromatic
#484312 #79701E #AA9E2A #D0C341 #DCD272

Accessibility & contrast

On white

2.75
#AA9E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AA9E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E2A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E2A#FFFFFF#000000##000000
##AA9E2A1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9913
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9e2a;
/* rgb */ color: rgb(170, 158, 42);
/* oklch */ color: oklch(68.9% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#c7ba6d',
    500: '#aa9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e2a;
$custom-light: #c7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e2a",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 54.375,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68926,
    "c": 0.13116,
    "h": 103.2
  },
  "luminance": 0.33167
}

Semantic roles & 50–950 ramp

primary
#AA9E2A
secondary
#6C74C3
accent
#53E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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