#331F0B#331F0B

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

Color values

HEX#331F0B
RGBrgb(51, 31, 11)
HSLhsl(30, 65%, 12%)
HSVhsv(30, 78%, 20%)
CMYKcmyk(0%, 39.2%, 78.4%, 80%)
CIE-LABlab(13.87, 7.31, 16.12)
CIE-LCHlch(13.87, 17.70, 65.62°)
OKLaboklab(26.02% 0.0197 0.0397)
OKLCHoklch(26.02% 0.044 63.6)
XYZxyz(1.9158, 1.7081, 0.5453)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F0B #0B1F33
analogous
#330B0B #331F0B #33330B
triadic
#331F0B #0B331F #1F0B33
tetradic
#331F0B #0B330B #0B1F33 #330B33
square
#331F0B #0B330B #0B1F33 #330B33
split-complementary
#331F0B #0B3333 #0B0B33
monochromatic
#190F05 #190F05 #331F0B #653E16 #985C21

Accessibility & contrast

On white

15.65
#331F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F0B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F0B#FFFFFF#000000##FFFFFF
##331F0B1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252109
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#381B1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f0b;
/* rgb */ color: rgb(51, 31, 11);
/* oklch */ color: oklch(26.0% 0.044 63.6);
Tailwind
colors: {
  custom: {
    50: '#6d5a4b',
    500: '#331f0b',
    950: '#000000',
  },
}
SCSS
$custom: #331f0b;
$custom-light: #6d5a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#331f0b",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 11
  },
  "hsl": {
    "h": 30,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26023,
    "c": 0.04435,
    "h": 63.6
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#331F0B
secondary
#2A4D70
accent
#94E840
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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