#331E04#331E04

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

Color values

HEX#331E04
RGBrgb(51, 30, 4)
HSLhsl(33, 85%, 11%)
HSVhsv(33, 92%, 20%)
CMYKcmyk(0%, 41.2%, 92.2%, 80%)
CIE-LABlab(13.48, 7.47, 18.46)
CIE-LCHlch(13.48, 19.92, 67.97°)
OKLaboklab(25.69% 0.0187 0.0471)
OKLCHoklch(25.69% 0.051 68.3)
XYZxyz(1.8516, 1.6413, 0.3341)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E04 #041933
analogous
#330604 #331E04 #303304
triadic
#331E04 #04331E #1E0433
tetradic
#331E04 #043306 #041933 #330430
square
#331E04 #043306 #041933 #330430
split-complementary
#331E04 #043033 #060433
monochromatic
#1C1102 #1C1102 #331E04 #6C3F08 #A4610D

Accessibility & contrast

On white

15.81
#331E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E04
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E04#FFFFFF#000000##FFFFFF
##331E041.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252002
Deuteranopia (green-blind)
#2A2404
Tritanopia (blue-blind)
#391919
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e04;
/* rgb */ color: rgb(51, 30, 4);
/* oklch */ color: oklch(25.7% 0.051 68.3);
Tailwind
colors: {
  custom: {
    50: '#6d5948',
    500: '#331e04',
    950: '#000000',
  },
}
SCSS
$custom: #331e04;
$custom-light: #6d5948;
$custom-dark: #000000;
JSON
{
  "hex": "#331e04",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 4
  },
  "hsl": {
    "h": 33.191,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25688,
    "c": 0.05067,
    "h": 68.3
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#331E04
secondary
#1D4575
accent
#89FC2C
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070300
muted
#7A7877

Preview Lab

Preview with #331E04

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

Preview Lab → · Contrast checker → · Palette generator →

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