#AA9A27#AA9A27

#AA9A27 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.0% C 0.129 H 101.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AA9A27
RGBrgb(170, 154, 39)
HSLhsl(53, 63%, 41%)
HSVhsv(53, 77%, 67%)
CMYKcmyk(0%, 9.4%, 77.1%, 33.3%)
CIE-LABlab(63.18, -6.64, 58.13)
CIE-LCHlch(63.18, 58.50, 96.51°)
OKLaboklab(68.04% -0.0247 0.1271)
OKLCHoklch(68.04% 0.129 101)
XYZxyz(28.5007, 31.8051, 6.5568)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9A27 #2737AA
analogous
#AA5827 #AA9A27 #78AA27
triadic
#AA9A27 #27AA9A #9A27AA
tetradic
#AA9A27 #27AA58 #2737AA #AA2778
square
#AA9A27 #27AA58 #2737AA #AA2778
split-complementary
#AA9A27 #2778AA #5827AA
monochromatic
#464010 #786D1C #AA9A27 #D2C03C #DED06E

Accessibility & contrast

On white

2.85
#AA9A27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AA9A27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9A27
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9A27#FFFFFF#000000##000000
##AA9A271.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#B78E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #aa9a27;
/* rgb */ color: rgb(170, 154, 39);
/* oklch */ color: oklch(68.0% 0.129 101.0);
Tailwind
colors: {
  custom: {
    50: '#c7b76b',
    500: '#aa9a27',
    950: '#000000',
  },
}
SCSS
$custom: #aa9a27;
$custom-light: #c7b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9a27",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 52.672,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68035,
    "c": 0.12948,
    "h": 101
  },
  "luminance": 0.31804
}

Semantic roles & 50–950 ramp

primary
#AA9A27
secondary
#6974C4
accent
#56E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9A27

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

Preview Lab → · Contrast checker → · Palette generator →

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