#AA9B38#AA9B38

#AA9B38 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.119 H 100.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AA9B38
RGBrgb(170, 155, 56)
HSLhsl(52, 50%, 44%)
HSVhsv(52, 67%, 67%)
CMYKcmyk(0%, 8.8%, 67.1%, 33.3%)
CIE-LABlab(63.57, -6.31, 51.91)
CIE-LCHlch(63.57, 52.29, 96.93°)
OKLaboklab(68.38% -0.0219 0.1171)
OKLCHoklch(68.38% 0.119 100.6)
XYZxyz(29.0140, 32.2755, 8.4421)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9B38 #3847AA
analogous
#AA6238 #AA9B38 #80AA38
triadic
#AA9B38 #38AA9B #9B38AA
tetradic
#AA9B38 #38AA62 #3847AA #AA3880
square
#AA9B38 #38AA62 #3847AA #AA3880
split-complementary
#AA9B38 #3880AA #6238AA
monochromatic
#4E471A #7C7129 #AA9B38 #C8B957 #D7CC85

Accessibility & contrast

On white

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

On black

7.45
#AA9B38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9B38
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9B38#FFFFFF#000000##000000
##AA9B381.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972B
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#B79087
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9b38;
/* rgb */ color: rgb(170, 155, 56);
/* oklch */ color: oklch(68.4% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#c6b874',
    500: '#aa9b38',
    950: '#000000',
  },
}
SCSS
$custom: #aa9b38;
$custom-light: #c6b874;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9b38",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 52.105,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.11912,
    "h": 100.6
  },
  "luminance": 0.32274
}

Semantic roles & 50–950 ramp

primary
#AA9B38
secondary
#7D86C1
accent
#60DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9B38

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

Preview Lab → · Contrast checker → · Palette generator →

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