#AA9A38#AA9A38

#AA9A38 is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.2% C 0.118 H 99.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AA9A38
RGBrgb(170, 154, 56)
HSLhsl(52, 50%, 44%)
HSVhsv(52, 67%, 67%)
CMYKcmyk(0%, 9.4%, 67.1%, 33.3%)
CIE-LABlab(63.30, -5.78, 51.62)
CIE-LCHlch(63.30, 51.94, 96.39°)
OKLaboklab(68.16% -0.0204 0.1165)
OKLCHoklch(68.16% 0.118 99.9)
XYZxyz(28.8482, 31.9441, 8.3869)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9A38 #3848AA
analogous
#AA6138 #AA9A38 #81AA38
triadic
#AA9A38 #38AA9A #9A38AA
tetradic
#AA9A38 #38AA61 #3848AA #AA3881
square
#AA9A38 #38AA61 #3848AA #AA3881
split-complementary
#AA9A38 #3881AA #6138AA
monochromatic
#4E471A #7C7029 #AA9A38 #C8B857 #D7CC85

Accessibility & contrast

On white

2.84
#AA9A38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AA9A38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9A38
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9A38#FFFFFF#000000##000000
##AA9A381.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962B
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#B78F86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #aa9a38;
/* rgb */ color: rgb(170, 154, 56);
/* oklch */ color: oklch(68.2% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#c6b774',
    500: '#aa9a38',
    950: '#000000',
  },
}
SCSS
$custom: #aa9a38;
$custom-light: #c6b774;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9a38",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 51.579,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.11826,
    "h": 99.9
  },
  "luminance": 0.31943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9A38

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

Preview Lab → · Contrast checker → · Palette generator →

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