#AA9727#AA9727

#AA9727 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.4% C 0.127 H 99.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AA9727
RGBrgb(170, 151, 39)
HSLhsl(51, 63%, 41%)
HSVhsv(51, 77%, 67%)
CMYKcmyk(0%, 11.2%, 77.1%, 33.3%)
CIE-LABlab(62.36, -5.03, 57.37)
CIE-LCHlch(62.36, 57.59, 95.01°)
OKLaboklab(67.38% -0.0201 0.1255)
OKLCHoklch(67.38% 0.127 99.1)
XYZxyz(28.0118, 30.8271, 6.3938)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9727 #273AAA
analogous
#AA5527 #AA9727 #7BAA27
triadic
#AA9727 #27AA97 #9727AA
tetradic
#AA9727 #27AA55 #273AAA #AA277B
square
#AA9727 #27AA55 #273AAA #AA277B
split-complementary
#AA9727 #277BAA #5527AA
monochromatic
#463F10 #786B1C #AA9727 #D2BC3C #DECD6E

Accessibility & contrast

On white

2.93
#AA9727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AA9727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9727
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9727#FFFFFF#000000##000000
##AA97271.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930F
Deuteranopia (green-blind)
#AB9A2F
Tritanopia (blue-blind)
#B88B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa9727;
/* rgb */ color: rgb(170, 151, 39);
/* oklch */ color: oklch(67.4% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#c7b56a',
    500: '#aa9727',
    950: '#000000',
  },
}
SCSS
$custom: #aa9727;
$custom-light: #c7b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9727",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 51.298,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.1271,
    "h": 99.1
  },
  "luminance": 0.30826
}

Semantic roles & 50–950 ramp

primary
#AA9727
secondary
#6976C4
accent
#5AE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9727

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

Preview Lab → · Contrast checker → · Palette generator →

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