#A17F2F#A17F2F

#A17F2F is a mid, moderate orange. Relative luminance 0.230; OKLCH L 61.4% C 0.105 H 85.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A17F2F
RGBrgb(161, 127, 47)
HSLhsl(42, 55%, 41%)
HSVhsv(42, 71%, 63%)
CMYKcmyk(0%, 21.1%, 70.8%, 36.9%)
CIE-LABlab(55.03, 4.50, 46.70)
CIE-LCHlch(55.03, 46.92, 84.50°)
OKLaboklab(61.4% 0.0086 0.1048)
OKLCHoklch(61.4% 0.105 85.3)
XYZxyz(22.8017, 22.9626, 5.9200)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F2F #2F51A1
analogous
#A1462F #A17F2F #8AA12F
triadic
#A17F2F #2FA17F #7F2FA1
tetradic
#A17F2F #2FA146 #2F51A1 #A12F8A
square
#A17F2F #2FA146 #2F51A1 #A12F8A
split-complementary
#A17F2F #2F8AA1 #462FA1
monochromatic
#423413 #725A21 #A17F2F #C9A145 #D6B974

Accessibility & contrast

On white

3.76
#A17F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A17F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17F2F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17F2F#FFFFFF#000000##000000
##A17F2F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F25
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#AF746E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a17f2f;
/* rgb */ color: rgb(161, 127, 47);
/* oklch */ color: oklch(61.4% 0.105 85.3);
Tailwind
colors: {
  custom: {
    50: '#c0a36c',
    500: '#a17f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a17f2f;
$custom-light: #c0a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f2f",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 42.105,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.10515,
    "h": 85.3
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

primary
#A17F2F
secondary
#6E86BE
accent
#76DE4A
background
#FCFAF6
surface
#F8F3EC
border
#D1CDC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A17F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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