#AA8B2D#AA8B2D

#AA8B2D is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.9% C 0.115 H 90.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AA8B2D
RGBrgb(170, 139, 45)
HSLhsl(45, 58%, 42%)
HSVhsv(45, 74%, 67%)
CMYKcmyk(0%, 18.2%, 73.5%, 33.3%)
CIE-LABlab(59.16, 1.79, 52.04)
CIE-LCHlch(59.16, 52.07, 88.03°)
OKLaboklab(64.87% -0.0001 0.1154)
OKLCHoklch(64.87% 0.115 90)
XYZxyz(26.2853, 27.2024, 6.3482)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8B2D #2D4CAA
analogous
#AA4D2D #AA8B2D #8BAA2D
triadic
#AA8B2D #2DAA8B #8B2DAA
tetradic
#AA8B2D #2DAA4D #2D4CAA #AA2D8B
square
#AA8B2D #2DAA4D #2D4CAA #AA2D8B
split-complementary
#AA8B2D #2D8BAA #4D2DAA
monochromatic
#493C13 #7A6320 #AA8B2D #CEAC46 #DBC277

Accessibility & contrast

On white

3.26
#AA8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AA8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8B2D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8B2D#FFFFFF#000000##000000
##AA8B2D1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#B87F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa8b2d;
/* rgb */ color: rgb(170, 139, 45);
/* oklch */ color: oklch(64.9% 0.115 90.0);
Tailwind
colors: {
  custom: {
    50: '#c7ac6c',
    500: '#aa8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #aa8b2d;
$custom-light: #c7ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8b2d",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 45.12,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64866,
    "c": 0.11536,
    "h": 90
  },
  "luminance": 0.27201
}

Semantic roles & 50–950 ramp

primary
#AA8B2D
secondary
#7085C3
accent
#6DE146
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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