#331F07#331F07

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

Color values

HEX#331F07
RGBrgb(51, 31, 7)
HSLhsl(33, 76%, 11%)
HSVhsv(33, 86%, 20%)
CMYKcmyk(0%, 39.2%, 86.3%, 80%)
CIE-LABlab(13.82, 7.00, 17.69)
CIE-LCHlch(13.82, 19.03, 68.41°)
OKLaboklab(25.97% 0.018 0.0442)
OKLCHoklch(25.97% 0.048 67.8)
XYZxyz(1.8937, 1.6993, 0.4292)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F07 #071B33
analogous
#330907 #331F07 #313307
triadic
#331F07 #07331F #1F0733
tetradic
#331F07 #073309 #071B33 #330731
square
#331F07 #073309 #071B33 #330731
split-complementary
#331F07 #073133 #090733
monochromatic
#1B1004 #1B1004 #331F07 #69400E #9F6016

Accessibility & contrast

On white

15.67
#331F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F07
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F07#FFFFFF#000000##FFFFFF
##331F071.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262005
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#381A1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f07;
/* rgb */ color: rgb(51, 31, 7);
/* oklch */ color: oklch(26.0% 0.048 67.8);
Tailwind
colors: {
  custom: {
    50: '#6d5a4a',
    500: '#331f07',
    950: '#000000',
  },
}
SCSS
$custom: #331f07;
$custom-light: #6d5a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#331f07",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 7
  },
  "hsl": {
    "h": 32.727,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25967,
    "c": 0.04771,
    "h": 67.8
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#331F07
secondary
#234773
accent
#8BF235
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F07

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

Preview Lab → · Contrast checker → · Palette generator →

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