#AA9C27#AA9C27

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

Color values

HEX#AA9C27
RGBrgb(170, 156, 39)
HSLhsl(54, 63%, 41%)
HSVhsv(54, 77%, 67%)
CMYKcmyk(0%, 8.2%, 77.1%, 33.3%)
CIE-LABlab(63.73, -7.70, 58.63)
CIE-LCHlch(63.73, 59.14, 97.48°)
OKLaboklab(68.47% -0.0277 0.1282)
OKLCHoklch(68.47% 0.131 102.2)
XYZxyz(28.8336, 32.4708, 6.6678)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9C27 #2735AA
analogous
#AA5A27 #AA9C27 #76AA27
triadic
#AA9C27 #27AA9C #9C27AA
tetradic
#AA9C27 #27AA5A #2735AA #AA2776
square
#AA9C27 #27AA5A #2735AA #AA2776
split-complementary
#AA9C27 #2776AA #5A27AA
monochromatic
#464110 #786E1C #AA9C27 #D2C23C #DED26E

Accessibility & contrast

On white

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

On black

7.49
#AA9C27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9C27
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9C27#FFFFFF#000000##000000
##AA9C271.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#B79086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9c27;
/* rgb */ color: rgb(170, 156, 39);
/* oklch */ color: oklch(68.5% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#c7b86b',
    500: '#aa9c27',
    950: '#000000',
  },
}
SCSS
$custom: #aa9c27;
$custom-light: #c7b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9c27",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 53.588,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6847,
    "c": 0.13115,
    "h": 102.2
  },
  "luminance": 0.32469
}

Semantic roles & 50–950 ramp

primary
#AA9C27
secondary
#6972C4
accent
#54E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9C27

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

Preview Lab → · Contrast checker → · Palette generator →

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