#874A1F#874A1F

#874A1F is a mid, moderate orange. Relative luminance 0.101; OKLCH L 47.5% C 0.100 H 52.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#874A1F
RGBrgb(135, 74, 31)
HSLhsl(25, 63%, 33%)
HSVhsv(25, 77%, 53%)
CMYKcmyk(0%, 45.2%, 77%, 47.1%)
CIE-LABlab(38.11, 22.32, 35.80)
CIE-LCHlch(38.11, 42.18, 58.06°)
OKLaboklab(47.47% 0.0606 0.0794)
OKLCHoklch(47.47% 0.1 52.7)
XYZxyz(12.6889, 10.1488, 2.5867)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874A1F #1F5C87
analogous
#871F28 #874A1F #877E1F
triadic
#874A1F #1F874A #4A1F87
tetradic
#874A1F #28871F #1F5C87 #7E1F87
square
#874A1F #28871F #1F5C87 #7E1F87
split-complementary
#874A1F #1F877E #1F2887
monochromatic
#231308 #552F14 #874A1F #B9652A #D6844B

Accessibility & contrast

On white

6.93
#874A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#874A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874A1F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874A1F#FFFFFF#000000##FFFFFF
##874A1F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C511A
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#943D41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #874a1f;
/* rgb */ color: rgb(135, 74, 31);
/* oklch */ color: oklch(47.5% 0.100 52.7);
Tailwind
colors: {
  custom: {
    50: '#af7d5d',
    500: '#874a1f',
    950: '#000000',
  },
}
SCSS
$custom: #874a1f;
$custom-light: #af7d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#874a1f",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 24.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.09992,
    "h": 52.7
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#874A1F
secondary
#4A8AB8
accent
#A2E642
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110904
muted
#807B79

Preview Lab

Preview with #874A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#874A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva