#874B1F#874B1F

#874B1F is a mid, moderate orange. Relative luminance 0.103; OKLCH L 47.7% C 0.099 H 53.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#874B1F
RGBrgb(135, 75, 31)
HSLhsl(25, 63%, 33%)
HSVhsv(25, 77%, 53%)
CMYKcmyk(0%, 44.4%, 77%, 47.1%)
CIE-LABlab(38.35, 21.74, 36.04)
CIE-LCHlch(38.35, 42.09, 58.90°)
OKLaboklab(47.66% 0.0589 0.08)
OKLCHoklch(47.66% 0.099 53.6)
XYZxyz(12.7562, 10.2834, 2.6092)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874B1F #1F5B87
analogous
#871F27 #874B1F #877F1F
triadic
#874B1F #1F874B #4B1F87
tetradic
#874B1F #27871F #1F5B87 #7F1F87
square
#874B1F #27871F #1F5B87 #7F1F87
split-complementary
#874B1F #1F877F #1F2787
monochromatic
#231408 #552F14 #874B1F #B9672A #D6864B

Accessibility & contrast

On white

6.87
#874B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#874B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874B1F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874B1F#FFFFFF#000000##FFFFFF
##874B1F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521A
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#943E42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #874b1f;
/* rgb */ color: rgb(135, 75, 31);
/* oklch */ color: oklch(47.7% 0.099 53.6);
Tailwind
colors: {
  custom: {
    50: '#af7e5d',
    500: '#874b1f',
    950: '#000000',
  },
}
SCSS
$custom: #874b1f;
$custom-light: #af7e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#874b1f",
  "rgb": {
    "r": 135,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 25.385,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.09929,
    "h": 53.6
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#874B1F
secondary
#4A89B8
accent
#A0E642
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110A04
muted
#807C79

Preview Lab

Preview with #874B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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