#AA9540#AA9540

#AA9540 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.2% C 0.108 H 95.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AA9540
RGBrgb(170, 149, 64)
HSLhsl(48, 45%, 46%)
HSVhsv(48, 62%, 67%)
CMYKcmyk(0%, 12.4%, 62.4%, 33.3%)
CIE-LABlab(62.01, -2.56, 46.64)
CIE-LCHlch(62.01, 46.71, 93.14°)
OKLaboklab(67.16% -0.0102 0.1071)
OKLCHoklch(67.16% 0.108 95.5)
XYZxyz(28.2517, 30.4125, 9.2316)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9540 #4055AA
analogous
#AA6040 #AA9540 #8AAA40
triadic
#AA9540 #40AA95 #9540AA
tetradic
#AA9540 #40AA60 #4055AA #AA408A
square
#AA9540 #40AA60 #4055AA #AA408A
split-complementary
#AA9540 #408AAA #6040AA
monochromatic
#51471F #7E6E2F #AA9540 #C4B163 #D5C78F

Accessibility & contrast

On white

2.97
#AA9540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AA9540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9540
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9540#FFFFFF#000000##000000
##AA95401.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39237
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#B78A83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa9540;
/* rgb */ color: rgb(170, 149, 64);
/* oklch */ color: oklch(67.2% 0.108 95.5);
Tailwind
colors: {
  custom: {
    50: '#c6b378',
    500: '#aa9540',
    950: '#000000',
  },
}
SCSS
$custom: #aa9540;
$custom-light: #c6b378;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9540",
  "rgb": {
    "r": 170,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 48.113,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67165,
    "c": 0.10761,
    "h": 95.5
  },
  "luminance": 0.30411
}

Semantic roles & 50–950 ramp

primary
#AA9540
secondary
#8691C0
accent
#6DD553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AA9540

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

Preview Lab → · Contrast checker → · Palette generator →

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