#AA7840#AA7840

#AA7840 is a mid, moderate orange. Relative luminance 0.223; OKLCH L 61.2% C 0.096 H 67.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AA7840
RGBrgb(170, 120, 64)
HSLhsl(32, 45%, 46%)
HSVhsv(32, 62%, 67%)
CMYKcmyk(0%, 29.4%, 62.4%, 33.3%)
CIE-LABlab(54.40, 13.56, 38.00)
CIE-LCHlch(54.40, 40.35, 70.36°)
OKLaboklab(61.19% 0.0368 0.0886)
OKLCHoklch(61.19% 0.096 67.4)
XYZxyz(24.2209, 22.3511, 7.8880)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7840 #4072AA
analogous
#AA4340 #AA7840 #A7AA40
triadic
#AA7840 #40AA78 #7840AA
tetradic
#AA7840 #40AA43 #4072AA #AA40A7
square
#AA7840 #40AA43 #4072AA #AA40A7
split-complementary
#AA7840 #40A7AA #4340AA
monochromatic
#51391F #7E592F #AA7840 #C49663 #D5B48F

Accessibility & contrast

On white

3.84
#AA7840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AA7840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7840
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7840#FFFFFF#000000##000000
##AA78401.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3B
Deuteranopia (green-blind)
#948741
Tritanopia (blue-blind)
#B86C6B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa7840;
/* rgb */ color: rgb(170, 120, 64);
/* oklch */ color: oklch(61.2% 0.096 67.4);
Tailwind
colors: {
  custom: {
    50: '#c79f76',
    500: '#aa7840',
    950: '#000000',
  },
}
SCSS
$custom: #aa7840;
$custom-light: #c79f76;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7840",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 31.698,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.09591,
    "h": 67.4
  },
  "luminance": 0.22349
}

Semantic roles & 50–950 ramp

primary
#AA7840
secondary
#86A1C0
accent
#90D553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#130E09
muted
#827E7B

Preview Lab

Preview with #AA7840

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

Preview Lab → · Contrast checker → · Palette generator →

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