#AA9D2E#AA9D2E

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

Color values

HEX#AA9D2E
RGBrgb(170, 157, 46)
HSLhsl(54, 57%, 42%)
HSVhsv(54, 73%, 67%)
CMYKcmyk(0%, 7.6%, 72.9%, 33.3%)
CIE-LABlab(64.05, -7.92, 56.42)
CIE-LCHlch(64.05, 56.97, 97.99°)
OKLaboklab(68.74% -0.0276 0.1248)
OKLCHoklch(68.74% 0.128 102.5)
XYZxyz(29.1290, 32.8585, 7.3922)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D2E #2E3BAA
analogous
#AA5F2E #AA9D2E #79AA2E
triadic
#AA9D2E #2EAA9D #9D2EAA
tetradic
#AA9D2E #2EAA5F #2E3BAA #AA2E79
square
#AA9D2E #2EAA5F #2E3BAA #AA2E79
split-complementary
#AA9D2E #2E79AA #5F2EAA
monochromatic
#4A4414 #7A7121 #AA9D2E #CDBF48 #DAD078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9D2E#FFFFFF#000000##000000
##AA9D2E1.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)
#AC981B
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#B79287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa9d2e;
/* rgb */ color: rgb(170, 157, 46);
/* oklch */ color: oklch(68.7% 0.128 102.5);
Tailwind
colors: {
  custom: {
    50: '#c7b96f',
    500: '#aa9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d2e;
$custom-light: #c7b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d2e",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 53.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68735,
    "c": 0.12786,
    "h": 102.5
  },
  "luminance": 0.32857
}

Semantic roles & 50–950 ramp

primary
#AA9D2E
secondary
#717AC3
accent
#57E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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