#AA9E38#AA9E38

#AA9E38 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.122 H 102.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AA9E38
RGBrgb(170, 158, 56)
HSLhsl(54, 50%, 44%)
HSVhsv(54, 67%, 67%)
CMYKcmyk(0%, 7.1%, 67.1%, 33.3%)
CIE-LABlab(64.39, -7.91, 52.76)
CIE-LCHlch(64.39, 53.35, 98.53°)
OKLaboklab(69.03% -0.0265 0.1189)
OKLCHoklch(69.03% 0.122 102.6)
XYZxyz(29.5194, 33.2865, 8.6106)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E38 #3844AA
analogous
#AA6538 #AA9E38 #7DAA38
triadic
#AA9E38 #38AA9E #9E38AA
tetradic
#AA9E38 #38AA65 #3844AA #AA387D
square
#AA9E38 #38AA65 #3844AA #AA387D
split-complementary
#AA9E38 #387DAA #6538AA
monochromatic
#4E481A #7C7329 #AA9E38 #C8BC57 #D7CE85

Accessibility & contrast

On white

2.74
#AA9E38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AA9E38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E38
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E38#FFFFFF#000000##000000
##AA9E381.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#B79389
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9e38;
/* rgb */ color: rgb(170, 158, 56);
/* oklch */ color: oklch(69.0% 0.122 102.6);
Tailwind
colors: {
  custom: {
    50: '#c6ba74',
    500: '#aa9e38',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e38;
$custom-light: #c6ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e38",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 56
  },
  "hsl": {
    "h": 53.684,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69033,
    "c": 0.1218,
    "h": 102.6
  },
  "luminance": 0.33285
}

Semantic roles & 50–950 ramp

primary
#AA9E38
secondary
#7D84C1
accent
#5DDA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9E38

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

Preview Lab → · Contrast checker → · Palette generator →

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