#38170C#38170C

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

Color values

HEX#38170C
RGBrgb(56, 23, 12)
HSLhsl(15, 65%, 13%)
HSVhsv(15, 79%, 22%)
CMYKcmyk(0%, 58.9%, 78.6%, 78%)
CIE-LABlab(12.48, 15.36, 13.97)
CIE-LCHlch(12.48, 20.76, 42.29°)
OKLaboklab(25.13% 0.0437 0.0353)
OKLCHoklch(25.13% 0.056 38.9)
XYZxyz(2.0038, 1.4803, 0.5280)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38170C #0C2D38
analogous
#380C17 #38170C #382D0C
triadic
#38170C #0C3817 #170C38
tetradic
#38170C #17380C #0C2D38 #2D0C38
square
#38170C #17380C #0C2D38 #2D0C38
split-complementary
#38170C #0C382D #0C1738
monochromatic
#190A05 #190A05 #38170C #6A2C17 #9D4022

Accessibility & contrast

On white

16.20
#38170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38170C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38170C#FFFFFF#000000##FFFFFF
##38170C1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0B
Deuteranopia (green-blind)
#28230B
Tritanopia (blue-blind)
#3E1114
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38170c;
/* rgb */ color: rgb(56, 23, 12);
/* oklch */ color: oklch(25.1% 0.056 38.9);
Tailwind
colors: {
  custom: {
    50: '#72554c',
    500: '#38170c',
    950: '#000000',
  },
}
SCSS
$custom: #38170c;
$custom-light: #72554c;
$custom-dark: #000000;
JSON
{
  "hex": "#38170c",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 15,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.0562,
    "h": 38.9
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#38170C
secondary
#2C6274
accent
#BEE840
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080301
muted
#7B7877

Preview Lab

Preview with #38170C

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

Preview Lab → · Contrast checker → · Palette generator →

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