#AA982D#AA982D

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

Color values

HEX#AA982D
RGBrgb(170, 152, 45)
HSLhsl(51, 58%, 42%)
HSVhsv(51, 74%, 67%)
CMYKcmyk(0%, 10.6%, 73.5%, 33.3%)
CIE-LABlab(62.67, -5.30, 55.47)
CIE-LCHlch(62.67, 55.72, 95.45°)
OKLaboklab(67.64% -0.0203 0.1226)
OKLCHoklch(67.64% 0.124 99.4)
XYZxyz(28.2808, 31.1933, 7.0134)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA982D #2D3FAA
analogous
#AA5A2D #AA982D #7EAA2D
triadic
#AA982D #2DAA98 #982DAA
tetradic
#AA982D #2DAA5A #2D3FAA #AA2D7E
square
#AA982D #2DAA5A #2D3FAA #AA2D7E
split-complementary
#AA982D #2D7EAA #5A2DAA
monochromatic
#494113 #7A6D20 #AA982D #CEBA46 #DBCC77

Accessibility & contrast

On white

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

On black

7.24
#AA982D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA982D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA982D#FFFFFF#000000##000000
##AA982D1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#B78D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa982d;
/* rgb */ color: rgb(170, 152, 45);
/* oklch */ color: oklch(67.6% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#c7b66d',
    500: '#aa982d',
    950: '#000000',
  },
}
SCSS
$custom: #aa982d;
$custom-light: #c7b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa982d",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 51.36,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67641,
    "c": 0.1243,
    "h": 99.4
  },
  "luminance": 0.31192
}

Semantic roles & 50–950 ramp

primary
#AA982D
secondary
#707CC3
accent
#5DE146
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA982D

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

Preview Lab → · Contrast checker → · Palette generator →

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