#331F08#331F08

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

Color values

HEX#331F08
RGBrgb(51, 31, 8)
HSLhsl(32, 73%, 12%)
HSVhsv(32, 84%, 20%)
CMYKcmyk(0%, 39.2%, 84.3%, 80%)
CIE-LABlab(13.84, 7.08, 17.30)
CIE-LCHlch(13.84, 18.69, 67.75°)
OKLaboklab(25.98% 0.0185 0.043)
OKLCHoklch(25.98% 0.047 66.8)
XYZxyz(1.8992, 1.7015, 0.4581)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F08 #081C33
analogous
#330A08 #331F08 #323308
triadic
#331F08 #08331F #1F0833
tetradic
#331F08 #08330A #081C33 #330832
square
#331F08 #08330A #081C33 #330832
split-complementary
#331F08 #083233 #0A0833
monochromatic
#1A1004 #1A1004 #331F08 #683F10 #9D5F19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331F08#FFFFFF#000000##FFFFFF
##331F081.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)
#262006
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#381A1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f08;
/* rgb */ color: rgb(51, 31, 8);
/* oklch */ color: oklch(26.0% 0.047 66.8);
Tailwind
colors: {
  custom: {
    50: '#6d5a4a',
    500: '#331f08',
    950: '#000000',
  },
}
SCSS
$custom: #331f08;
$custom-light: #6d5a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#331f08",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 8
  },
  "hsl": {
    "h": 32.093,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.25981,
    "c": 0.04683,
    "h": 66.8
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#331F08
secondary
#254972
accent
#8EF038
background
#F6F5F4
surface
#ECE9E7
border
#C7C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #331F08

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

Preview Lab → · Contrast checker → · Palette generator →

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