#AA9D2F#AA9D2F

#AA9D2F is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.7% C 0.127 H 102.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AA9D2F
RGBrgb(170, 157, 47)
HSLhsl(54, 57%, 43%)
HSVhsv(54, 72%, 67%)
CMYKcmyk(0%, 7.6%, 72.4%, 33.3%)
CIE-LABlab(64.05, -7.87, 56.05)
CIE-LCHlch(64.05, 56.60, 98.00°)
OKLaboklab(68.74% -0.0274 0.1242)
OKLCHoklch(68.74% 0.127 102.4)
XYZxyz(29.1489, 32.8665, 7.4972)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D2F #2F3CAA
analogous
#AA602F #AA9D2F #79AA2F
triadic
#AA9D2F #2FAA9D #9D2FAA
tetradic
#AA9D2F #2FAA60 #2F3CAA #AA2F79
square
#AA9D2F #2FAA60 #2F3CAA #AA2F79
split-complementary
#AA9D2F #2F79AA #602FAA
monochromatic
#4A4414 #7A7122 #AA9D2F #CDBF49 #DAD079

Accessibility & contrast

On white

2.77
#AA9D2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AA9D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9D2F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9D2F#FFFFFF#000000##000000
##AA9D2F1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#AF9E36
Tritanopia (blue-blind)
#B79287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa9d2f;
/* rgb */ color: rgb(170, 157, 47);
/* oklch */ color: oklch(68.7% 0.127 102.4);
Tailwind
colors: {
  custom: {
    50: '#c7b96f',
    500: '#aa9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d2f;
$custom-light: #c7b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d2f",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 53.659,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.12722,
    "h": 102.4
  },
  "luminance": 0.32865
}

Semantic roles & 50–950 ramp

primary
#AA9D2F
secondary
#727BC2
accent
#58E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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