#331E0B#331E0B

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

Color values

HEX#331E0B
RGBrgb(51, 30, 11)
HSLhsl(29, 65%, 12%)
HSVhsv(29, 78%, 20%)
CMYKcmyk(0%, 41.2%, 78.4%, 80%)
CIE-LABlab(13.57, 8.00, 15.72)
CIE-LCHlch(13.57, 17.64, 63.03°)
OKLaboklab(25.79% 0.0218 0.039)
OKLCHoklch(25.79% 0.045 60.8)
XYZxyz(1.8901, 1.6567, 0.5368)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E0B #0B2033
analogous
#330B0C #331E0B #33320B
triadic
#331E0B #0B331E #1E0B33
tetradic
#331E0B #0C330B #0B2033 #320B33
square
#331E0B #0C330B #0B2033 #320B33
split-complementary
#331E0B #0B3332 #0B0C33
monochromatic
#190F05 #190F05 #331E0B #653C16 #985921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331E0B#FFFFFF#000000##FFFFFF
##331E0B1.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)
#242009
Deuteranopia (green-blind)
#29250B
Tritanopia (blue-blind)
#38191A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331e0b;
/* rgb */ color: rgb(51, 30, 11);
/* oklch */ color: oklch(25.8% 0.045 60.8);
Tailwind
colors: {
  custom: {
    50: '#6d594b',
    500: '#331e0b',
    950: '#000000',
  },
}
SCSS
$custom: #331e0b;
$custom-light: #6d594b;
$custom-dark: #000000;
JSON
{
  "hex": "#331e0b",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 11
  },
  "hsl": {
    "h": 28.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25788,
    "c": 0.04466,
    "h": 60.8
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#331E0B
secondary
#2A4F70
accent
#98E840
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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