#331E0C#331E0C

#331E0C is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.8% C 0.044 H 59.5°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#331E0C
RGBrgb(51, 30, 12)
HSLhsl(28, 62%, 12%)
HSVhsv(28, 76%, 20%)
CMYKcmyk(0%, 41.2%, 76.5%, 80%)
CIE-LABlab(13.59, 8.08, 15.30)
CIE-LCHlch(13.59, 17.30, 62.16°)
OKLaboklab(25.8% 0.0222 0.0378)
OKLCHoklch(25.8% 0.044 59.5)
XYZxyz(1.8960, 1.6591, 0.5681)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E0C #0C2133
analogous
#330C0E #331E0C #33320C
triadic
#331E0C #0C331E #1E0C33
tetradic
#331E0C #0E330C #0C2133 #320C33
square
#331E0C #0E330C #0C2133 #320C33
split-complementary
#331E0C #0C3332 #0C0E33
monochromatic
#190F06 #190F06 #331E0C #653B18 #965823

Accessibility & contrast

On white

15.77
#331E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E0C
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E0C#FFFFFF#000000##FFFFFF
##331E0C1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200A
Deuteranopia (green-blind)
#29250C
Tritanopia (blue-blind)
#381A1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e0c;
/* rgb */ color: rgb(51, 30, 12);
/* oklch */ color: oklch(25.8% 0.044 59.5);
Tailwind
colors: {
  custom: {
    50: '#6d594c',
    500: '#331e0c',
    950: '#000000',
  },
}
SCSS
$custom: #331e0c;
$custom-light: #6d594c;
$custom-dark: #000000;
JSON
{
  "hex": "#331e0c",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 12
  },
  "hsl": {
    "h": 27.692,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.25804,
    "c": 0.04386,
    "h": 59.5
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#331E0C
secondary
#2C506F
accent
#9AE543
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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