#38170B#38170B

#38170B is a dark, muted orange. Relative luminance 0.015; OKLCH L 25.1% C 0.057 H 40.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#38170B
RGBrgb(56, 23, 11)
HSLhsl(16, 67%, 13%)
HSVhsv(16, 80%, 22%)
CMYKcmyk(0%, 58.9%, 80.4%, 78%)
CIE-LABlab(12.47, 15.29, 14.39)
CIE-LCHlch(12.47, 21.00, 43.27°)
OKLaboklab(25.12% 0.0433 0.0365)
OKLCHoklch(25.12% 0.057 40.1)
XYZxyz(1.9979, 1.4779, 0.4966)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38170B #0B2C38
analogous
#380B15 #38170B #382D0B
triadic
#38170B #0B3817 #170B38
tetradic
#38170B #15380B #0B2C38 #2D0B38
square
#38170B #15380B #0B2C38 #2D0B38
split-complementary
#38170B #0B382D #0B1538
monochromatic
#1A0B05 #1A0B05 #38170B #6B2C15 #9E411F

Accessibility & contrast

On white

16.21
#38170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#38170B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38170B
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38170B#FFFFFF#000000##FFFFFF
##38170B1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0A
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#3E1014
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38170b;
/* rgb */ color: rgb(56, 23, 11);
/* oklch */ color: oklch(25.1% 0.057 40.1);
Tailwind
colors: {
  custom: {
    50: '#72554b',
    500: '#38170b',
    950: '#000000',
  },
}
SCSS
$custom: #38170b;
$custom-light: #72554b;
$custom-dark: #000000;
JSON
{
  "hex": "#38170b",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 16,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25115,
    "c": 0.05664,
    "h": 40.1
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#38170B
secondary
#2A6175
accent
#BCEA3E
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080301
muted
#7B7877

Preview Lab

Preview with #38170B

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

Preview Lab → · Contrast checker → · Palette generator →

#38170B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva