#AA982F#AA982F

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

Color values

HEX#AA982F
RGBrgb(170, 152, 47)
HSLhsl(51, 57%, 43%)
HSVhsv(51, 72%, 67%)
CMYKcmyk(0%, 10.6%, 72.4%, 33.3%)
CIE-LABlab(62.68, -5.20, 54.71)
CIE-LCHlch(62.68, 54.95, 95.43°)
OKLaboklab(67.66% -0.0198 0.1214)
OKLCHoklch(67.66% 0.123 99.3)
XYZxyz(28.3202, 31.2091, 7.2210)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA982F #2F41AA
analogous
#AA5B2F #AA982F #7EAA2F
triadic
#AA982F #2FAA98 #982FAA
tetradic
#AA982F #2FAA5B #2F41AA #AA2F7E
square
#AA982F #2FAA5B #2F41AA #AA2F7E
split-complementary
#AA982F #2F7EAA #5B2FAA
monochromatic
#4A4214 #7A6D22 #AA982F #CDBA49 #DACC79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA982F#FFFFFF#000000##000000
##AA982F1.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)
#A7941E
Deuteranopia (green-blind)
#AC9A36
Tritanopia (blue-blind)
#B78D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa982f;
/* rgb */ color: rgb(170, 152, 47);
/* oklch */ color: oklch(67.7% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#c7b66f',
    500: '#aa982f',
    950: '#000000',
  },
}
SCSS
$custom: #aa982f;
$custom-light: #c7b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa982f",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 51.22,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67655,
    "c": 0.123,
    "h": 99.3
  },
  "luminance": 0.31208
}

Semantic roles & 50–950 ramp

primary
#AA982F
secondary
#727EC2
accent
#5EE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #AA982F

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

Preview Lab → · Contrast checker → · Palette generator →

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