#AA9730#AA9730

#AA9730 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.122 H 98.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AA9730
RGBrgb(170, 151, 48)
HSLhsl(51, 56%, 43%)
HSVhsv(51, 72%, 67%)
CMYKcmyk(0%, 11.2%, 71.8%, 33.3%)
CIE-LABlab(62.42, -4.61, 54.05)
CIE-LCHlch(62.42, 54.25, 94.87°)
OKLaboklab(67.45% -0.018 0.1202)
OKLCHoklch(67.45% 0.122 98.5)
XYZxyz(28.1790, 30.8940, 7.2746)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9730 #3043AA
analogous
#AA5A30 #AA9730 #80AA30
triadic
#AA9730 #30AA97 #9730AA
tetradic
#AA9730 #30AA5A #3043AA #AA3080
square
#AA9730 #30AA5A #3043AA #AA3080
split-complementary
#AA9730 #3080AA #5A30AA
monochromatic
#4B4215 #7A6D23 #AA9730 #CCB84B #DACB7B

Accessibility & contrast

On white

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

On black

7.18
#AA9730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9730
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9730#FFFFFF#000000##000000
##AA97301.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69320
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#B78C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa9730;
/* rgb */ color: rgb(170, 151, 48);
/* oklch */ color: oklch(67.4% 0.122 98.5);
Tailwind
colors: {
  custom: {
    50: '#c7b56f',
    500: '#aa9730',
    950: '#000000',
  },
}
SCSS
$custom: #aa9730;
$custom-light: #c7b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9730",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 50.656,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.12154,
    "h": 98.5
  },
  "luminance": 0.30893
}

Semantic roles & 50–950 ramp

primary
#AA9730
secondary
#7480C2
accent
#60DF49
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9730

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

Preview Lab → · Contrast checker → · Palette generator →

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