#A17F1C#A17F1C

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

Color values

HEX#A17F1C
RGBrgb(161, 127, 28)
HSLhsl(45, 70%, 37%)
HSVhsv(45, 83%, 63%)
CMYKcmyk(0%, 21.1%, 82.6%, 36.9%)
CIE-LABlab(54.91, 3.66, 54.03)
CIE-LCHlch(54.91, 54.15, 86.13°)
OKLaboklab(61.27% 0.0039 0.1164)
OKLCHoklch(61.27% 0.116 88.1)
XYZxyz(22.4983, 22.8412, 4.3222)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F1C #1C3EA1
analogous
#A13D1C #A17F1C #80A11C
triadic
#A17F1C #1CA17F #7F1CA1
tetradic
#A17F1C #1CA13D #1C3EA1 #A11C80
square
#A17F1C #1CA13D #1C3EA1 #A11C80
split-complementary
#A17F1C #1C80A1 #3D1CA1
monochromatic
#392D0A #6D5613 #A17F1C #D5A825 #E2BE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A17F1C#FFFFFF#000000##000000
##A17F1C1.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)
#8F7E02
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#AF736D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a17f1c;
/* rgb */ color: rgb(161, 127, 28);
/* oklch */ color: oklch(61.3% 0.116 88.1);
Tailwind
colors: {
  custom: {
    50: '#c1a362',
    500: '#a17f1c',
    950: '#000000',
  },
}
SCSS
$custom: #a17f1c;
$custom-light: #c1a362;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f1c",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 44.662,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.11649,
    "h": 88.1
  },
  "luminance": 0.2284
}

Semantic roles & 50–950 ramp

primary
#A17F1C
secondary
#5471C5
accent
#68ED3B
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A17F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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