#AA9E2D#AA9E2D

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

Color values

HEX#AA9E2D
RGBrgb(170, 158, 45)
HSLhsl(54, 58%, 42%)
HSVhsv(54, 74%, 67%)
CMYKcmyk(0%, 7.1%, 73.5%, 33.3%)
CIE-LABlab(64.31, -8.50, 57.05)
CIE-LCHlch(64.31, 57.68, 98.47°)
OKLaboklab(68.95% -0.0293 0.126)
OKLCHoklch(68.95% 0.129 103.1)
XYZxyz(29.2794, 33.1905, 7.3462)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E2D #2D39AA
analogous
#AA602D #AA9E2D #78AA2D
triadic
#AA9E2D #2DAA9E #9E2DAA
tetradic
#AA9E2D #2DAA60 #2D39AA #AA2D78
square
#AA9E2D #2DAA60 #2D39AA #AA2D78
split-complementary
#AA9E2D #2D78AA #602DAA
monochromatic
#494413 #7A7120 #AA9E2D #CEC146 #DBD177

Accessibility & contrast

On white

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

On black

7.64
#AA9E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E2D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E2D#FFFFFF#000000##000000
##AA9E2D1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa9e2d;
/* rgb */ color: rgb(170, 158, 45);
/* oklch */ color: oklch(68.9% 0.129 103.1);
Tailwind
colors: {
  custom: {
    50: '#c7ba6e',
    500: '#aa9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e2d;
$custom-light: #c7ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e2d",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 54.24,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68946,
    "c": 0.12936,
    "h": 103.1
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#AA9E2D
secondary
#7078C3
accent
#55E146
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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