#AA8F2C#AA8F2C

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

Color values

HEX#AA8F2C
RGBrgb(170, 143, 44)
HSLhsl(47, 59%, 42%)
HSVhsv(47, 74%, 67%)
CMYKcmyk(0%, 15.9%, 74.1%, 33.3%)
CIE-LABlab(60.23, -0.46, 53.48)
CIE-LCHlch(60.23, 53.48, 90.49°)
OKLaboklab(65.7% -0.0066 0.1182)
OKLCHoklch(65.7% 0.118 93.2)
XYZxyz(26.8561, 28.3744, 6.4446)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F2C #2C47AA
analogous
#AA502C #AA8F2C #86AA2C
triadic
#AA8F2C #2CAA8F #8F2CAA
tetradic
#AA8F2C #2CAA50 #2C47AA #AA2C86
square
#AA8F2C #2CAA50 #2C47AA #AA2C86
split-complementary
#AA8F2C #2C86AA #502CAA
monochromatic
#493D13 #79661F #AA8F2C #CFB144 #DBC575

Accessibility & contrast

On white

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

On black

6.67
#AA8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8F2C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8F2C#FFFFFF#000000##000000
##AA8F2C1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa8f2c;
/* rgb */ color: rgb(170, 143, 44);
/* oklch */ color: oklch(65.7% 0.118 93.2);
Tailwind
colors: {
  custom: {
    50: '#c7af6c',
    500: '#aa8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f2c;
$custom-light: #c7af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f2c",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 47.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.11841,
    "h": 93.2
  },
  "luminance": 0.28373
}

Semantic roles & 50–950 ramp

primary
#AA8F2C
secondary
#6F81C3
accent
#67E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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