#AA8F2D#AA8F2D

#AA8F2D is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.7% C 0.118 H 93.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AA8F2D
RGBrgb(170, 143, 45)
HSLhsl(47, 58%, 42%)
HSVhsv(47, 74%, 67%)
CMYKcmyk(0%, 15.9%, 73.5%, 33.3%)
CIE-LABlab(60.23, -0.41, 53.09)
CIE-LCHlch(60.23, 53.09, 90.44°)
OKLaboklab(65.71% -0.0064 0.1176)
OKLCHoklch(65.71% 0.118 93.1)
XYZxyz(26.8751, 28.3820, 6.5448)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F2D #2D48AA
analogous
#AA512D #AA8F2D #87AA2D
triadic
#AA8F2D #2DAA8F #8F2DAA
tetradic
#AA8F2D #2DAA51 #2D48AA #AA2D87
square
#AA8F2D #2DAA51 #2D48AA #AA2D87
split-complementary
#AA8F2D #2D87AA #512DAA
monochromatic
#493E13 #7A6620 #AA8F2D #CEB146 #DBC577

Accessibility & contrast

On white

3.15
#AA8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AA8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8F2D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8F2D#FFFFFF#000000##000000
##AA8F2D1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1E
Deuteranopia (green-blind)
#A59532
Tritanopia (blue-blind)
#B8837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa8f2d;
/* rgb */ color: rgb(170, 143, 45);
/* oklch */ color: oklch(65.7% 0.118 93.1);
Tailwind
colors: {
  custom: {
    50: '#c7af6d',
    500: '#aa8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f2d;
$custom-light: #c7af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f2d",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 47.04,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.11776,
    "h": 93.1
  },
  "luminance": 0.2838
}

Semantic roles & 50–950 ramp

primary
#AA8F2D
secondary
#7082C3
accent
#68E146
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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