#A17F21#A17F21

#A17F21 is a mid, moderate orange. Relative luminance 0.229; OKLCH L 61.3% C 0.114 H 87.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A17F21
RGBrgb(161, 127, 33)
HSLhsl(44, 66%, 38%)
HSVhsv(44, 80%, 63%)
CMYKcmyk(0%, 21.1%, 79.5%, 36.9%)
CIE-LABlab(54.94, 3.84, 52.32)
CIE-LCHlch(54.94, 52.46, 85.81°)
OKLaboklab(61.3% 0.005 0.1139)
OKLCHoklch(61.3% 0.114 87.5)
XYZxyz(22.5632, 22.8672, 4.6640)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F21 #2143A1
analogous
#A13F21 #A17F21 #83A121
triadic
#A17F21 #21A17F #7F21A1
tetradic
#A17F21 #21A13F #2143A1 #A12183
square
#A17F21 #21A13F #2143A1 #A12183
split-complementary
#A17F21 #2183A1 #3F21A1
monochromatic
#3B2F0C #6E5717 #A17F21 #D4A72C #DEBC5E

Accessibility & contrast

On white

3.77
#A17F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A17F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17F21
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17F21#FFFFFF#000000##000000
##A17F211.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#AF736D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a17f21;
/* rgb */ color: rgb(161, 127, 33);
/* oklch */ color: oklch(61.3% 0.114 87.5);
Tailwind
colors: {
  custom: {
    50: '#c1a364',
    500: '#a17f21',
    950: '#000000',
  },
}
SCSS
$custom: #a17f21;
$custom-light: #c1a364;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f21",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 44.063,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.11397,
    "h": 87.5
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#A17F21
secondary
#5B77C3
accent
#6CE93F
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A17F21

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

Preview Lab → · Contrast checker → · Palette generator →

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