#AA9B27#AA9B27

#AA9B27 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.130 H 101.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AA9B27
RGBrgb(170, 155, 39)
HSLhsl(53, 63%, 41%)
HSVhsv(53, 77%, 67%)
CMYKcmyk(0%, 8.8%, 77.1%, 33.3%)
CIE-LABlab(63.46, -7.17, 58.38)
CIE-LCHlch(63.46, 58.82, 97.00°)
OKLaboklab(68.25% -0.0262 0.1277)
OKLCHoklch(68.25% 0.13 101.6)
XYZxyz(28.6665, 32.1365, 6.6121)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9B27 #2736AA
analogous
#AA5927 #AA9B27 #77AA27
triadic
#AA9B27 #27AA9B #9B27AA
tetradic
#AA9B27 #27AA59 #2736AA #AA2777
square
#AA9B27 #27AA59 #2736AA #AA2777
split-complementary
#AA9B27 #2777AA #5927AA
monochromatic
#464010 #786E1C #AA9B27 #D2C13C #DED16E

Accessibility & contrast

On white

2.83
#AA9B27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AA9B27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9B27
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9B27#FFFFFF#000000##000000
##AA9B271.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960D
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#B78F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9b27;
/* rgb */ color: rgb(170, 155, 39);
/* oklch */ color: oklch(68.3% 0.130 101.6);
Tailwind
colors: {
  custom: {
    50: '#c7b86b',
    500: '#aa9b27',
    950: '#000000',
  },
}
SCSS
$custom: #aa9b27;
$custom-light: #c7b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9b27",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 53.13,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68252,
    "c": 0.13031,
    "h": 101.6
  },
  "luminance": 0.32135
}

Semantic roles & 50–950 ramp

primary
#AA9B27
secondary
#6973C4
accent
#55E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9B27

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

Preview Lab → · Contrast checker → · Palette generator →

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