#AA9D27#AA9D27

#AA9D27 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.7% C 0.132 H 102.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AA9D27
RGBrgb(170, 157, 39)
HSLhsl(54, 63%, 41%)
HSVhsv(54, 77%, 67%)
CMYKcmyk(0%, 7.6%, 77.1%, 33.3%)
CIE-LABlab(64.00, -8.23, 58.89)
CIE-LCHlch(64.00, 59.46, 97.96°)
OKLaboklab(68.69% -0.0292 0.1287)
OKLCHoklch(68.69% 0.132 102.8)
XYZxyz(29.0021, 32.8077, 6.7239)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D27 #2734AA
analogous
#AA5B27 #AA9D27 #75AA27
triadic
#AA9D27 #27AA9D #9D27AA
tetradic
#AA9D27 #27AA5B #2734AA #AA2775
square
#AA9D27 #27AA5B #2734AA #AA2775
split-complementary
#AA9D27 #2775AA #5B27AA
monochromatic
#464110 #786F1C #AA9D27 #D2C33C #DED36E

Accessibility & contrast

On white

2.78
#AA9D27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AA9D27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9D27
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9D27#FFFFFF#000000##000000
##AA9D271.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa9d27;
/* rgb */ color: rgb(170, 157, 39);
/* oklch */ color: oklch(68.7% 0.132 102.8);
Tailwind
colors: {
  custom: {
    50: '#c7b96b',
    500: '#aa9d27',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d27;
$custom-light: #c7b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d27",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 54.046,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68689,
    "c": 0.132,
    "h": 102.8
  },
  "luminance": 0.32806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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