#AA9A2F#AA9A2F

#AA9A2F is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.1% C 0.125 H 100.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AA9A2F
RGBrgb(170, 154, 47)
HSLhsl(52, 57%, 43%)
HSVhsv(52, 72%, 67%)
CMYKcmyk(0%, 9.4%, 72.4%, 33.3%)
CIE-LABlab(63.23, -6.27, 55.24)
CIE-LCHlch(63.23, 55.60, 96.48°)
OKLaboklab(68.09% -0.0228 0.1225)
OKLCHoklch(68.09% 0.125 100.6)
XYZxyz(28.6476, 31.8638, 7.3301)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9A2F #2F3FAA
analogous
#AA5C2F #AA9A2F #7DAA2F
triadic
#AA9A2F #2FAA9A #9A2FAA
tetradic
#AA9A2F #2FAA5C #2F3FAA #AA2F7D
square
#AA9A2F #2FAA5C #2F3FAA #AA2F7D
split-complementary
#AA9A2F #2F7DAA #5C2FAA
monochromatic
#4A4314 #7A6F22 #AA9A2F #CDBC49 #DACD79

Accessibility & contrast

On white

2.85
#AA9A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#AA9A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9A2F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9A2F#FFFFFF#000000##000000
##AA9A2F1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961E
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#B78F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #aa9a2f;
/* rgb */ color: rgb(170, 154, 47);
/* oklch */ color: oklch(68.1% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#c7b76f',
    500: '#aa9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa9a2f;
$custom-light: #c7b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9a2f",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 52.195,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.12464,
    "h": 100.6
  },
  "luminance": 0.31862
}

Semantic roles & 50–950 ramp

primary
#AA9A2F
secondary
#727DC2
accent
#5CE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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