#331F17#331F17

#331F17 is a dark, muted orange. Relative luminance 0.017; OKLCH L 26.3% C 0.035 H 42.6°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#331F17
RGBrgb(51, 31, 23)
HSLhsl(17, 38%, 15%)
HSVhsv(17, 55%, 20%)
CMYKcmyk(0%, 39.2%, 54.9%, 80%)
CIE-LABlab(14.09, 8.56, 9.43)
CIE-LCHlch(14.09, 12.73, 47.76°)
OKLaboklab(26.26% 0.0255 0.0234)
OKLCHoklch(26.26% 0.035 42.6)
XYZxyz(2.0100, 1.7458, 1.0416)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F17 #172B33
analogous
#33171D #331F17 #332D17
triadic
#331F17 #17331F #1F1733
tetradic
#331F17 #1D3317 #172B33 #2D1733
square
#331F17 #1D3317 #172B33 #2D1733
split-complementary
#331F17 #17332D #171D33
monochromatic
#150D0A #150D0A #331F17 #5D392A #87523D

Accessibility & contrast

On white

15.56
#331F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#331F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F17
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F17#FFFFFF#000000##FFFFFF
##331F171.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242116
Deuteranopia (green-blind)
#292517
Tritanopia (blue-blind)
#381C1D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f17;
/* rgb */ color: rgb(51, 31, 23);
/* oklch */ color: oklch(26.3% 0.035 42.6);
Tailwind
colors: {
  custom: {
    50: '#6c5a53',
    500: '#331f17',
    950: '#000000',
  },
}
SCSS
$custom: #331f17;
$custom-light: #6c5a53;
$custom-dark: #000000;
JSON
{
  "hex": "#331f17",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 17.143,
    "s": 37.838,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26263,
    "c": 0.03462,
    "h": 42.6
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#331F17
secondary
#3D5C69
accent
#ADCE5A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070402
muted
#7A7978

Preview Lab

Preview with #331F17

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

Preview Lab → · Contrast checker → · Palette generator →

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