#AA9C2F#AA9C2F

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

Color values

HEX#AA9C2F
RGBrgb(170, 156, 47)
HSLhsl(53, 57%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.2%, 72.4%, 33.3%)
CIE-LABlab(63.78, -7.34, 55.78)
CIE-LCHlch(63.78, 56.26, 97.50°)
OKLaboklab(68.52% -0.0259 0.1237)
OKLCHoklch(68.52% 0.126 101.8)
XYZxyz(28.9804, 32.5295, 7.4411)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9C2F #2F3DAA
analogous
#AA5F2F #AA9C2F #7AAA2F
triadic
#AA9C2F #2FAA9C #9C2FAA
tetradic
#AA9C2F #2FAA5F #2F3DAA #AA2F7A
square
#AA9C2F #2FAA5F #2F3DAA #AA2F7A
split-complementary
#AA9C2F #2F7AAA #5F2FAA
monochromatic
#4A4414 #7A7022 #AA9C2F #CDBE49 #DACF79

Accessibility & contrast

On white

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

On black

7.51
#AA9C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9C2F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9C2F#FFFFFF#000000##000000
##AA9C2F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971D
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#B79187
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9c2f;
/* rgb */ color: rgb(170, 156, 47);
/* oklch */ color: oklch(68.5% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#c7b86f',
    500: '#aa9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa9c2f;
$custom-light: #c7b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9c2f",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 53.171,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68524,
    "c": 0.12634,
    "h": 101.8
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#AA9C2F
secondary
#727CC2
accent
#59E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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