#AA9728#AA9728

#AA9728 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#AA9728
RGBrgb(170, 151, 40)
HSLhsl(51, 62%, 41%)
HSVhsv(51, 76%, 67%)
CMYKcmyk(0%, 11.2%, 76.5%, 33.3%)
CIE-LABlab(62.37, -4.98, 57.02)
CIE-LCHlch(62.37, 57.24, 94.99°)
OKLaboklab(67.39% -0.0199 0.125)
OKLCHoklch(67.39% 0.127 99.1)
XYZxyz(28.0286, 30.8339, 6.4823)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9728 #283BAA
analogous
#AA5628 #AA9728 #7CAA28
triadic
#AA9728 #28AA97 #9728AA
tetradic
#AA9728 #28AA56 #283BAA #AA287C
square
#AA9728 #28AA56 #283BAA #AA287C
split-complementary
#AA9728 #287CAA #5628AA
monochromatic
#473F11 #786B1C #AA9728 #D2BC3E #DDCD6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9728#FFFFFF#000000##000000
##AA97281.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)
#A69312
Deuteranopia (green-blind)
#AB9A30
Tritanopia (blue-blind)
#B88B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa9728;
/* rgb */ color: rgb(170, 151, 40);
/* oklch */ color: oklch(67.4% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#c7b56b',
    500: '#aa9728',
    950: '#000000',
  },
}
SCSS
$custom: #aa9728;
$custom-light: #c7b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9728",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 51.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.12653,
    "h": 99.1
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#AA9728
secondary
#6A77C4
accent
#5BE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9728

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

Preview Lab → · Contrast checker → · Palette generator →

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