#AA9C2B#AA9C2B

#AA9C2B is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.129 H 102.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AA9C2B
RGBrgb(170, 156, 43)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.2%, 74.7%, 33.3%)
CIE-LABlab(63.75, -7.53, 57.25)
CIE-LCHlch(63.75, 57.74, 97.49°)
OKLaboklab(68.5% -0.0268 0.126)
OKLCHoklch(68.5% 0.129 102)
XYZxyz(28.9034, 32.4987, 7.0354)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9C2B #2B39AA
analogous
#AA5D2B #AA9C2B #79AA2B
triadic
#AA9C2B #2BAA9C #9C2BAA
tetradic
#AA9C2B #2BAA5D #2B39AA #AA2B79
square
#AA9C2B #2BAA5D #2B39AA #AA2B79
split-complementary
#AA9C2B #2B79AA #5D2BAA
monochromatic
#484212 #796F1F #AA9C2B #CFC043 #DCD074

Accessibility & contrast

On white

2.80
#AA9C2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AA9C2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9C2B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9C2B#FFFFFF#000000##000000
##AA9C2B1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9716
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#B79186
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9c2b;
/* rgb */ color: rgb(170, 156, 43);
/* oklch */ color: oklch(68.5% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#c7b86d',
    500: '#aa9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #aa9c2b;
$custom-light: #c7b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9c2b",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 53.386,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.12884,
    "h": 102
  },
  "luminance": 0.32497
}

Semantic roles & 50–950 ramp

primary
#AA9C2B
secondary
#6E77C3
accent
#56E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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