#AA9D2A#AA9D2A

#AA9D2A is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.7% C 0.130 H 102.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AA9D2A
RGBrgb(170, 157, 42)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.6%, 75.3%, 33.3%)
CIE-LABlab(64.02, -8.11, 57.86)
CIE-LCHlch(64.02, 58.43, 97.97°)
OKLaboklab(68.71% -0.0285 0.1271)
OKLCHoklch(68.71% 0.13 102.7)
XYZxyz(29.0538, 32.8284, 6.9962)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D2A #2A37AA
analogous
#AA5D2A #AA9D2A #77AA2A
triadic
#AA9D2A #2AAA9D #9D2AAA
tetradic
#AA9D2A #2AAA5D #2A37AA #AA2A77
square
#AA9D2A #2AAA5D #2A37AA #AA2A77
split-complementary
#AA9D2A #2A77AA #5D2AAA
monochromatic
#484212 #79701E #AA9D2A #D0C241 #DCD172

Accessibility & contrast

On white

2.78
#AA9D2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AA9D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9D2A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9D2A#FFFFFF#000000##000000
##AA9D2A1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B79287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa9d2a;
/* rgb */ color: rgb(170, 157, 42);
/* oklch */ color: oklch(68.7% 0.130 102.7);
Tailwind
colors: {
  custom: {
    50: '#c7b96c',
    500: '#aa9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d2a;
$custom-light: #c7b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d2a",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 53.906,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.13029,
    "h": 102.7
  },
  "luminance": 0.32827
}

Semantic roles & 50–950 ramp

primary
#AA9D2A
secondary
#6C75C3
accent
#54E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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