#AA9B2D#AA9B2D

#AA9B2D is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.3% C 0.127 H 101.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AA9B2D
RGBrgb(170, 155, 45)
HSLhsl(53, 58%, 42%)
HSVhsv(53, 74%, 67%)
CMYKcmyk(0%, 8.8%, 73.5%, 33.3%)
CIE-LABlab(63.49, -6.90, 56.26)
CIE-LCHlch(63.49, 56.68, 97.00°)
OKLaboklab(68.29% -0.0248 0.1243)
OKLCHoklch(68.29% 0.127 101.3)
XYZxyz(28.7739, 32.1795, 7.1777)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9B2D #2D3CAA
analogous
#AA5D2D #AA9B2D #7BAA2D
triadic
#AA9B2D #2DAA9B #9B2DAA
tetradic
#AA9B2D #2DAA5D #2D3CAA #AA2D7B
square
#AA9B2D #2DAA5D #2D3CAA #AA2D7B
split-complementary
#AA9B2D #2D7BAA #5D2DAA
monochromatic
#494313 #7A6F20 #AA9B2D #CEBE46 #DBCF77

Accessibility & contrast

On white

2.82
#AA9B2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AA9B2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9B2D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9B2D#FFFFFF#000000##000000
##AA9B2D1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961A
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#B79086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9b2d;
/* rgb */ color: rgb(170, 155, 45);
/* oklch */ color: oklch(68.3% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#c7b86e',
    500: '#aa9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #aa9b2d;
$custom-light: #c7b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9b2d",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 52.8,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.12677,
    "h": 101.3
  },
  "luminance": 0.32178
}

Semantic roles & 50–950 ramp

primary
#AA9B2D
secondary
#707AC3
accent
#59E146
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AA9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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