#331E08#331E08

#331E08 is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.7% C 0.047 H 64.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#331E08
RGBrgb(51, 30, 8)
HSLhsl(31, 73%, 12%)
HSVhsv(31, 84%, 20%)
CMYKcmyk(0%, 41.2%, 84.3%, 80%)
CIE-LABlab(13.53, 7.77, 16.90)
CIE-LCHlch(13.53, 18.60, 65.31°)
OKLaboklab(25.75% 0.0205 0.0424)
OKLCHoklch(25.75% 0.047 64.1)
XYZxyz(1.8735, 1.6501, 0.4495)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E08 #081D33
analogous
#330908 #331E08 #333308
triadic
#331E08 #08331E #1E0833
tetradic
#331E08 #083309 #081D33 #330833
square
#331E08 #083309 #081D33 #330833
split-complementary
#331E08 #083333 #090833
monochromatic
#1A1004 #1A1004 #331E08 #683D10 #9D5C19

Accessibility & contrast

On white

15.79
#331E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E08
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E08#FFFFFF#000000##FFFFFF
##331E081.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252006
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#381919
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e08;
/* rgb */ color: rgb(51, 30, 8);
/* oklch */ color: oklch(25.7% 0.047 64.1);
Tailwind
colors: {
  custom: {
    50: '#6d594a',
    500: '#331e08',
    950: '#000000',
  },
}
SCSS
$custom: #331e08;
$custom-light: #6d594a;
$custom-dark: #000000;
JSON
{
  "hex": "#331e08",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 8
  },
  "hsl": {
    "h": 30.698,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.25745,
    "c": 0.04706,
    "h": 64.1
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#331E08
secondary
#254B72
accent
#92F038
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331E08

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

Preview Lab → · Contrast checker → · Palette generator →

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