#AA9B30#AA9B30

#AA9B30 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.3% C 0.125 H 101.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AA9B30
RGBrgb(170, 155, 48)
HSLhsl(53, 56%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.8%, 71.8%, 33.3%)
CIE-LABlab(63.51, -6.76, 55.13)
CIE-LCHlch(63.51, 55.54, 96.99°)
OKLaboklab(68.31% -0.0241 0.1225)
OKLCHoklch(68.31% 0.125 101.1)
XYZxyz(28.8337, 32.2034, 7.4928)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9B30 #303FAA
analogous
#AA5E30 #AA9B30 #7CAA30
triadic
#AA9B30 #30AA9B #9B30AA
tetradic
#AA9B30 #30AA5E #303FAA #AA307C
square
#AA9B30 #30AA5E #303FAA #AA307C
split-complementary
#AA9B30 #307CAA #5E30AA
monochromatic
#4B4415 #7A6F23 #AA9B30 #CCBC4B #DACE7B

Accessibility & contrast

On white

2.82
#AA9B30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AA9B30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9B30
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9B30#FFFFFF#000000##000000
##AA9B301.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961F
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#B79086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9b30;
/* rgb */ color: rgb(170, 155, 48);
/* oklch */ color: oklch(68.3% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#c7b86f',
    500: '#aa9b30',
    950: '#000000',
  },
}
SCSS
$custom: #aa9b30;
$custom-light: #c7b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9b30",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 48
  },
  "hsl": {
    "h": 52.623,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.12483,
    "h": 101.1
  },
  "luminance": 0.32202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9B30

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

Preview Lab → · Contrast checker → · Palette generator →

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