#AA9F21#AA9F21

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

Color values

HEX#AA9F21
RGBrgb(170, 159, 33)
HSLhsl(55, 67%, 40%)
HSVhsv(55, 81%, 67%)
CMYKcmyk(0%, 6.5%, 80.6%, 33.3%)
CIE-LABlab(64.53, -9.52, 61.26)
CIE-LCHlch(64.53, 61.99, 98.83°)
OKLaboklab(69.09% -0.0333 0.1326)
OKLCHoklch(69.09% 0.137 104.1)
XYZxyz(29.2516, 33.4534, 6.3549)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9F21 #212CAA
analogous
#AA5A21 #AA9F21 #71AA21
triadic
#AA9F21 #21AA9F #9F21AA
tetradic
#AA9F21 #21AA5A #212CAA #AA2171
square
#AA9F21 #21AA5A #212CAA #AA2171
split-complementary
#AA9F21 #2171AA #5A21AA
monochromatic
#433F0D #776F17 #AA9F21 #D7CA31 #E1D764

Accessibility & contrast

On white

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

On black

7.69
#AA9F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9F21
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9F21#FFFFFF#000000##000000
##AA9F211.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B29F2C
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9f21;
/* rgb */ color: rgb(170, 159, 33);
/* oklch */ color: oklch(69.1% 0.137 104.1);
Tailwind
colors: {
  custom: {
    50: '#c7bb69',
    500: '#aa9f21',
    950: '#000000',
  },
}
SCSS
$custom: #aa9f21;
$custom-light: #c7bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9f21",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 55.182,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69094,
    "c": 0.13676,
    "h": 104.1
  },
  "luminance": 0.33452
}

Semantic roles & 50–950 ramp

primary
#AA9F21
secondary
#6169C6
accent
#4BEA3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9F21

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

Preview Lab → · Contrast checker → · Palette generator →

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