#AA8D2F#AA8D2F

#AA8D2F is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.3% C 0.115 H 91.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AA8D2F
RGBrgb(170, 141, 47)
HSLhsl(46, 57%, 43%)
HSVhsv(46, 72%, 67%)
CMYKcmyk(0%, 17.1%, 72.4%, 33.3%)
CIE-LABlab(59.71, 0.79, 51.76)
CIE-LCHlch(59.71, 51.77, 89.13°)
OKLaboklab(65.3% -0.0027 0.1152)
OKLCHoklch(65.3% 0.115 91.4)
XYZxyz(26.6170, 27.8026, 6.6533)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8D2F #2F4CAA
analogous
#AA502F #AA8D2F #89AA2F
triadic
#AA8D2F #2FAA8D #8D2FAA
tetradic
#AA8D2F #2FAA50 #2F4CAA #AA2F89
square
#AA8D2F #2FAA50 #2F4CAA #AA2F89
split-complementary
#AA8D2F #2F89AA #502FAA
monochromatic
#4A3D14 #7A6522 #AA8D2F #CDAE49 #DAC379

Accessibility & contrast

On white

3.20
#AA8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AA8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8D2F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8D2F#FFFFFF#000000##000000
##AA8D2F1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#B8817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa8d2f;
/* rgb */ color: rgb(170, 141, 47);
/* oklch */ color: oklch(65.3% 0.115 91.4);
Tailwind
colors: {
  custom: {
    50: '#c7ae6d',
    500: '#aa8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa8d2f;
$custom-light: #c7ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8d2f",
  "rgb": {
    "r": 170,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 45.854,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65303,
    "c": 0.11519,
    "h": 91.4
  },
  "luminance": 0.27801
}

Semantic roles & 50–950 ramp

primary
#AA8D2F
secondary
#7285C2
accent
#6CE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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