#AA9F27#AA9F27

#AA9F27 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.134 H 103.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AA9F27
RGBrgb(170, 159, 39)
HSLhsl(55, 63%, 41%)
HSVhsv(55, 77%, 67%)
CMYKcmyk(0%, 6.5%, 77.1%, 33.3%)
CIE-LABlab(64.56, -9.29, 59.39)
CIE-LCHlch(64.56, 60.12, 98.89°)
OKLaboklab(69.13% -0.0322 0.1298)
OKLCHoklch(69.13% 0.134 103.9)
XYZxyz(29.3432, 33.4900, 6.8376)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9F27 #2732AA
analogous
#AA5D27 #AA9F27 #73AA27
triadic
#AA9F27 #27AA9F #9F27AA
tetradic
#AA9F27 #27AA5D #2732AA #AA2773
square
#AA9F27 #27AA5D #2732AA #AA2773
split-complementary
#AA9F27 #2773AA #5D27AA
monochromatic
#464210 #78701C #AA9F27 #D2C63C #DED46E

Accessibility & contrast

On white

2.73
#AA9F27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AA9F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9F27
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9F27#FFFFFF#000000##000000
##AA9F271.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#B79488
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa9f27;
/* rgb */ color: rgb(170, 159, 39);
/* oklch */ color: oklch(69.1% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#c7bb6b',
    500: '#aa9f27',
    950: '#000000',
  },
}
SCSS
$custom: #aa9f27;
$custom-light: #c7bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9f27",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 54.962,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.13373,
    "h": 103.9
  },
  "luminance": 0.33489
}

Semantic roles & 50–950 ramp

primary
#AA9F27
secondary
#6970C4
accent
#50E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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