#331C04#331C04

#331C04 is a dark, muted orange. Relative luminance 0.015; OKLCH L 25.2% C 0.051 H 63.6°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#331C04
RGBrgb(51, 28, 4)
HSLhsl(31, 85%, 11%)
HSVhsv(31, 92%, 20%)
CMYKcmyk(0%, 45.1%, 92.2%, 80%)
CIE-LABlab(12.88, 8.85, 17.66)
CIE-LCHlch(12.88, 19.76, 63.38°)
OKLaboklab(25.22% 0.0228 0.0459)
OKLCHoklch(25.22% 0.051 63.6)
XYZxyz(1.8026, 1.5433, 0.3178)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C04 #041B33
analogous
#330404 #331C04 #323304
triadic
#331C04 #04331C #1C0433
tetradic
#331C04 #043304 #041B33 #330432
square
#331C04 #043304 #041B33 #330432
split-complementary
#331C04 #043233 #040433
monochromatic
#1C1002 #1C1002 #331C04 #6C3B08 #A45A0D

Accessibility & contrast

On white

16.05
#331C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331C04
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C04#FFFFFF#000000##FFFFFF
##331C041.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#292304
Tritanopia (blue-blind)
#391717
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331c04;
/* rgb */ color: rgb(51, 28, 4);
/* oklch */ color: oklch(25.2% 0.051 63.6);
Tailwind
colors: {
  custom: {
    50: '#6d5848',
    500: '#331c04',
    950: '#000000',
  },
}
SCSS
$custom: #331c04;
$custom-light: #6d5848;
$custom-dark: #000000;
JSON
{
  "hex": "#331c04",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 4
  },
  "hsl": {
    "h": 30.638,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25223,
    "c": 0.05123,
    "h": 63.6
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#331C04
secondary
#1D4875
accent
#92FC2C
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070300
muted
#7A7877

Preview Lab

Preview with #331C04

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

Preview Lab → · Contrast checker → · Palette generator →

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