#331E12#331E12

#331E12 is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.9% C 0.039 H 50.1°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#331E12
RGBrgb(51, 30, 18)
HSLhsl(22, 48%, 14%)
HSVhsv(22, 65%, 20%)
CMYKcmyk(0%, 41.2%, 64.7%, 80%)
CIE-LABlab(13.69, 8.65, 12.25)
CIE-LCHlch(13.69, 15.00, 54.75°)
OKLaboklab(25.92% 0.0251 0.03)
OKLCHoklch(25.92% 0.039 50.1)
XYZxyz(1.9388, 1.6762, 0.7936)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E12 #122733
analogous
#331216 #331E12 #332E12
triadic
#331E12 #12331E #1E1233
tetradic
#331E12 #163312 #122733 #2E1233
square
#331E12 #163312 #122733 #2E1233
split-complementary
#331E12 #12332E #121633
monochromatic
#170D08 #170D08 #331E12 #603922 #8D5332

Accessibility & contrast

On white

15.73
#331E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E12
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E12#FFFFFF#000000##FFFFFF
##331E121.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242011
Deuteranopia (green-blind)
#292512
Tritanopia (blue-blind)
#381A1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e12;
/* rgb */ color: rgb(51, 30, 18);
/* oklch */ color: oklch(25.9% 0.039 50.1);
Tailwind
colors: {
  custom: {
    50: '#6c5950',
    500: '#331e12',
    950: '#000000',
  },
}
SCSS
$custom: #331e12;
$custom-light: #6c5950;
$custom-dark: #000000;
JSON
{
  "hex": "#331e12",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 21.818,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25915,
    "c": 0.03905,
    "h": 50.1
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#331E12
secondary
#35586B
accent
#A6D750
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331E12

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

Preview Lab → · Contrast checker → · Palette generator →

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