#AA8F2F#AA8F2F

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

Color values

HEX#AA8F2F
RGBrgb(170, 143, 47)
HSLhsl(47, 57%, 43%)
HSVhsv(47, 72%, 67%)
CMYKcmyk(0%, 15.9%, 72.4%, 33.3%)
CIE-LABlab(60.25, -0.31, 52.29)
CIE-LCHlch(60.25, 52.30, 90.34°)
OKLaboklab(65.73% -0.0059 0.1163)
OKLCHoklch(65.73% 0.116 92.9)
XYZxyz(26.9145, 28.3978, 6.7525)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F2F #2F4AAA
analogous
#AA512F #AA8F2F #88AA2F
triadic
#AA8F2F #2FAA8F #8F2FAA
tetradic
#AA8F2F #2FAA51 #2F4AAA #AA2F88
square
#AA8F2F #2FAA51 #2F4AAA #AA2F88
split-complementary
#AA8F2F #2F88AA #512FAA
monochromatic
#4A3E14 #7A6722 #AA8F2F #CDB049 #DAC579

Accessibility & contrast

On white

3.14
#AA8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA8F2F#FFFFFF#000000##000000
##AA8F2F1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D21
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#B8837C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa8f2f;
/* rgb */ color: rgb(170, 143, 47);
/* oklch */ color: oklch(65.7% 0.116 92.9);
Tailwind
colors: {
  custom: {
    50: '#c7af6e',
    500: '#aa8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f2f;
$custom-light: #c7af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f2f",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 46.829,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65727,
    "c": 0.11644,
    "h": 92.9
  },
  "luminance": 0.28396
}

Semantic roles & 50–950 ramp

primary
#AA8F2F
secondary
#7284C2
accent
#69E048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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