#AA982B#AA982B

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

Color values

HEX#AA982B
RGBrgb(170, 152, 43)
HSLhsl(51, 60%, 42%)
HSVhsv(51, 75%, 67%)
CMYKcmyk(0%, 10.6%, 74.7%, 33.3%)
CIE-LABlab(62.66, -5.39, 56.21)
CIE-LCHlch(62.66, 56.47, 95.48°)
OKLaboklab(67.63% -0.0208 0.1238)
OKLCHoklch(67.63% 0.126 99.5)
XYZxyz(28.2432, 31.1783, 6.8154)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA982B #2B3DAA
analogous
#AA592B #AA982B #7DAA2B
triadic
#AA982B #2BAA98 #982BAA
tetradic
#AA982B #2BAA59 #2B3DAA #AA2B7D
square
#AA982B #2BAA59 #2B3DAA #AA2B7D
split-complementary
#AA982B #2B7DAA #592BAA
monochromatic
#484112 #796C1F #AA982B #CFBB43 #DCCD74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA982B#FFFFFF#000000##000000
##AA982B1.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)
#A79417
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#B78D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa982b;
/* rgb */ color: rgb(170, 152, 43);
/* oklch */ color: oklch(67.6% 0.126 99.5);
Tailwind
colors: {
  custom: {
    50: '#c7b66c',
    500: '#aa982b',
    950: '#000000',
  },
}
SCSS
$custom: #aa982b;
$custom-light: #c7b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa982b",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 51.496,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67627,
    "c": 0.12554,
    "h": 99.5
  },
  "luminance": 0.31177
}

Semantic roles & 50–950 ramp

primary
#AA982B
secondary
#6E7AC3
accent
#5BE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA982B

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

Preview Lab → · Contrast checker → · Palette generator →

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