#AA9B2F#AA9B2F

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

Color values

HEX#AA9B2F
RGBrgb(170, 155, 47)
HSLhsl(53, 57%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.8%, 72.4%, 33.3%)
CIE-LABlab(63.50, -6.81, 55.51)
CIE-LCHlch(63.50, 55.93, 96.99°)
OKLaboklab(68.31% -0.0243 0.1231)
OKLCHoklch(68.31% 0.125 101.2)
XYZxyz(28.8133, 32.1953, 7.3854)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9B2F #2F3EAA
analogous
#AA5E2F #AA9B2F #7BAA2F
triadic
#AA9B2F #2FAA9B #9B2FAA
tetradic
#AA9B2F #2FAA5E #2F3EAA #AA2F7B
square
#AA9B2F #2FAA5E #2F3EAA #AA2F7B
split-complementary
#AA9B2F #2F7BAA #5E2FAA
monochromatic
#4A4414 #7A6F22 #AA9B2F #CDBD49 #DACE79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9B2F#FFFFFF#000000##000000
##AA9B2F1.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)
#AA961D
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#B79086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9b2f;
/* rgb */ color: rgb(170, 155, 47);
/* oklch */ color: oklch(68.3% 0.125 101.2);
Tailwind
colors: {
  custom: {
    50: '#c7b86f',
    500: '#aa9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa9b2f;
$custom-light: #c7b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9b2f",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 52.683,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.12549,
    "h": 101.2
  },
  "luminance": 0.32194
}

Semantic roles & 50–950 ramp

primary
#AA9B2F
secondary
#727CC2
accent
#5AE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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