#AA9D2C#AA9D2C

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

Color values

HEX#AA9D2C
RGBrgb(170, 157, 44)
HSLhsl(54, 59%, 42%)
HSVhsv(54, 74%, 67%)
CMYKcmyk(0%, 7.6%, 74.1%, 33.3%)
CIE-LABlab(64.03, -8.02, 57.15)
CIE-LCHlch(64.03, 57.71, 97.98°)
OKLaboklab(68.72% -0.0281 0.126)
OKLCHoklch(68.72% 0.129 102.6)
XYZxyz(29.0905, 32.8431, 7.1894)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D2C #2C39AA
analogous
#AA5E2C #AA9D2C #78AA2C
triadic
#AA9D2C #2CAA9D #9D2CAA
tetradic
#AA9D2C #2CAA5E #2C39AA #AA2C78
square
#AA9D2C #2CAA5E #2C39AA #AA2C78
split-complementary
#AA9D2C #2C78AA #5E2CAA
monochromatic
#494313 #79701F #AA9D2C #CFC044 #DBD175

Accessibility & contrast

On white

2.77
#AA9D2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9D2C#FFFFFF#000000##000000
##AA9D2C1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa9d2c;
/* rgb */ color: rgb(170, 157, 44);
/* oklch */ color: oklch(68.7% 0.129 102.6);
Tailwind
colors: {
  custom: {
    50: '#c7b96d',
    500: '#aa9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d2c;
$custom-light: #c7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d2c",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 53.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.1291,
    "h": 102.6
  },
  "luminance": 0.32842
}

Semantic roles & 50–950 ramp

primary
#AA9D2C
secondary
#6F78C3
accent
#56E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AA9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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