#AA9D2B#AA9D2B

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

Color values

HEX#AA9D2B
RGBrgb(170, 157, 43)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.6%, 74.7%, 33.3%)
CIE-LABlab(64.03, -8.06, 57.51)
CIE-LCHlch(64.03, 58.07, 97.98°)
OKLaboklab(68.71% -0.0283 0.1266)
OKLCHoklch(68.71% 0.13 102.6)
XYZxyz(29.0719, 32.8357, 7.0916)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D2B #2B38AA
analogous
#AA5E2B #AA9D2B #78AA2B
triadic
#AA9D2B #2BAA9D #9D2BAA
tetradic
#AA9D2B #2BAA5E #2B38AA #AA2B78
square
#AA9D2B #2BAA5E #2B38AA #AA2B78
split-complementary
#AA9D2B #2B78AA #5E2BAA
monochromatic
#484312 #79701F #AA9D2B #CFC143 #DCD174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9D2B#FFFFFF#000000##000000
##AA9D2B1.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)
#AC9815
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#B79287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa9d2b;
/* rgb */ color: rgb(170, 157, 43);
/* oklch */ color: oklch(68.7% 0.130 102.6);
Tailwind
colors: {
  custom: {
    50: '#c7b96d',
    500: '#aa9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d2b;
$custom-light: #c7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d2b",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 53.858,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.12971,
    "h": 102.6
  },
  "luminance": 0.32834
}

Semantic roles & 50–950 ramp

primary
#AA9D2B
secondary
#6E76C3
accent
#55E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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