#AA9C30#AA9C30

#AA9C30 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.126 H 101.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AA9C30
RGBrgb(170, 156, 48)
HSLhsl(53, 56%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.2%, 71.8%, 33.3%)
CIE-LABlab(63.78, -7.29, 55.40)
CIE-LCHlch(63.78, 55.88, 97.50°)
OKLaboklab(68.53% -0.0256 0.1231)
OKLCHoklch(68.53% 0.126 101.8)
XYZxyz(29.0008, 32.5376, 7.5485)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9C30 #303EAA
analogous
#AA5F30 #AA9C30 #7BAA30
triadic
#AA9C30 #30AA9C #9C30AA
tetradic
#AA9C30 #30AA5F #303EAA #AA307B
square
#AA9C30 #30AA5F #303EAA #AA307B
split-complementary
#AA9C30 #307BAA #5F30AA
monochromatic
#4B4415 #7A7023 #AA9C30 #CCBD4B #DACF7B

Accessibility & contrast

On white

2.80
#AA9C30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AA9C30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9C30
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9C30#FFFFFF#000000##000000
##AA9C301.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971F
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#B79187
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9c30;
/* rgb */ color: rgb(170, 156, 48);
/* oklch */ color: oklch(68.5% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#c7b86f',
    500: '#aa9c30',
    950: '#000000',
  },
}
SCSS
$custom: #aa9c30;
$custom-light: #c7b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9c30",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 48
  },
  "hsl": {
    "h": 53.115,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68531,
    "c": 0.12569,
    "h": 101.8
  },
  "luminance": 0.32536
}

Semantic roles & 50–950 ramp

primary
#AA9C30
secondary
#747DC2
accent
#5ADF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9C30

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

Preview Lab → · Contrast checker → · Palette generator →

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