#A17F1B#A17F1B

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

Color values

HEX#A17F1B
RGBrgb(161, 127, 27)
HSLhsl(45, 71%, 37%)
HSVhsv(45, 83%, 63%)
CMYKcmyk(0%, 21.1%, 83.2%, 36.9%)
CIE-LABlab(54.90, 3.62, 54.35)
CIE-LCHlch(54.90, 54.47, 86.19°)
OKLaboklab(61.26% 0.0038 0.1169)
OKLCHoklch(61.26% 0.117 88.2)
XYZxyz(22.4866, 22.8365, 4.2602)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F1B #1B3DA1
analogous
#A13C1B #A17F1B #80A11B
triadic
#A17F1B #1BA17F #7F1BA1
tetradic
#A17F1B #1BA13C #1B3DA1 #A11B80
square
#A17F1B #1BA13C #1B3DA1 #A11B80
split-complementary
#A17F1B #1B80A1 #3C1BA1
monochromatic
#382C09 #6D5612 #A17F1B #D5A824 #E2BE54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A17F1B#FFFFFF#000000##000000
##A17F1B1.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)
#8F7E00
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#AF736D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a17f1b;
/* rgb */ color: rgb(161, 127, 27);
/* oklch */ color: oklch(61.3% 0.117 88.2);
Tailwind
colors: {
  custom: {
    50: '#c1a362',
    500: '#a17f1b',
    950: '#000000',
  },
}
SCSS
$custom: #a17f1b;
$custom-light: #c1a362;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f1b",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 44.776,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.11695,
    "h": 88.2
  },
  "luminance": 0.22835
}

Semantic roles & 50–950 ramp

primary
#A17F1B
secondary
#5270C5
accent
#68EE3A
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A17F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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