#AA9E2B#AA9E2B

#AA9E2B is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.131 H 103.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AA9E2B
RGBrgb(170, 158, 43)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.1%, 74.7%, 33.3%)
CIE-LABlab(64.30, -8.59, 57.77)
CIE-LCHlch(64.30, 58.41, 98.46°)
OKLaboklab(68.93% -0.0298 0.1271)
OKLCHoklch(68.93% 0.131 103.2)
XYZxyz(29.2418, 33.1754, 7.1482)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E2B #2B37AA
analogous
#AA5F2B #AA9E2B #77AA2B
triadic
#AA9E2B #2BAA9E #9E2BAA
tetradic
#AA9E2B #2BAA5F #2B37AA #AA2B77
square
#AA9E2B #2BAA5F #2B37AA #AA2B77
split-complementary
#AA9E2B #2B77AA #5F2BAA
monochromatic
#484312 #79711F #AA9E2B #CFC243 #DCD274

Accessibility & contrast

On white

2.75
#AA9E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AA9E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E2B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E2B#FFFFFF#000000##000000
##AA9E2B1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9915
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9e2b;
/* rgb */ color: rgb(170, 158, 43);
/* oklch */ color: oklch(68.9% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#c7ba6d',
    500: '#aa9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e2b;
$custom-light: #c7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e2b",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 54.331,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.13058,
    "h": 103.2
  },
  "luminance": 0.33174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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