#331D12#331D12

#331D12 is a dark, muted orange. Relative luminance 0.016; OKLCH L 25.7% C 0.040 H 47.0°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#331D12
RGBrgb(51, 29, 18)
HSLhsl(20, 48%, 14%)
HSVhsv(20, 65%, 20%)
CMYKcmyk(0%, 43.1%, 64.7%, 80%)
CIE-LABlab(13.39, 9.35, 11.85)
CIE-LCHlch(13.39, 15.10, 51.74°)
OKLaboklab(25.69% 0.0272 0.0291)
OKLCHoklch(25.69% 0.04 47)
XYZxyz(1.9139, 1.6264, 0.7853)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D12 #122833
analogous
#331217 #331D12 #332D12
triadic
#331D12 #12331D #1D1233
tetradic
#331D12 #173312 #122833 #2D1233
square
#331D12 #173312 #122833 #2D1233
split-complementary
#331D12 #12332D #121733
monochromatic
#170D08 #170D08 #331D12 #603722 #8D5032

Accessibility & contrast

On white

15.85
#331D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D12
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D12#FFFFFF#000000##FFFFFF
##331D121.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F11
Deuteranopia (green-blind)
#282412
Tritanopia (blue-blind)
#38191A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331d12;
/* rgb */ color: rgb(51, 29, 18);
/* oklch */ color: oklch(25.7% 0.040 47.0);
Tailwind
colors: {
  custom: {
    50: '#6c5950',
    500: '#331d12',
    950: '#000000',
  },
}
SCSS
$custom: #331d12;
$custom-light: #6c5950;
$custom-dark: #000000;
JSON
{
  "hex": "#331d12",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 20,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25686,
    "c": 0.03981,
    "h": 47
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#331D12
secondary
#35596B
accent
#AAD750
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331D12

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

Preview Lab → · Contrast checker → · Palette generator →

#331D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva