#AA982A#AA982A

#AA982A is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.6% C 0.126 H 99.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AA982A
RGBrgb(170, 152, 42)
HSLhsl(52, 60%, 42%)
HSVhsv(52, 75%, 67%)
CMYKcmyk(0%, 10.6%, 75.3%, 33.3%)
CIE-LABlab(62.65, -5.43, 56.57)
CIE-LCHlch(62.65, 56.83, 95.49°)
OKLaboklab(67.62% -0.021 0.1244)
OKLCHoklch(67.62% 0.126 99.6)
XYZxyz(28.2251, 31.1711, 6.7199)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA982A #2A3CAA
analogous
#AA582A #AA982A #7CAA2A
triadic
#AA982A #2AAA98 #982AAA
tetradic
#AA982A #2AAA58 #2A3CAA #AA2A7C
square
#AA982A #2AAA58 #2A3CAA #AA2A7C
split-complementary
#AA982A #2A7CAA #582AAA
monochromatic
#484012 #796C1E #AA982A #D0BC41 #DCCD72

Accessibility & contrast

On white

2.90
#AA982A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AA982A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA982A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA982A#FFFFFF#000000##000000
##AA982A1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79415
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#B88C83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa982a;
/* rgb */ color: rgb(170, 152, 42);
/* oklch */ color: oklch(67.6% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#c7b66c',
    500: '#aa982a',
    950: '#000000',
  },
}
SCSS
$custom: #aa982a;
$custom-light: #c7b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa982a",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 51.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.12614,
    "h": 99.6
  },
  "luminance": 0.3117
}

Semantic roles & 50–950 ramp

primary
#AA982A
secondary
#6C79C3
accent
#5BE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA982A

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

Preview Lab → · Contrast checker → · Palette generator →

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