#331F12#331F12

#331F12 is a dark, muted orange. Relative luminance 0.017; OKLCH L 26.1% C 0.038 H 53.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#331F12
RGBrgb(51, 31, 18)
HSLhsl(24, 48%, 14%)
HSVhsv(24, 65%, 20%)
CMYKcmyk(0%, 39.2%, 64.7%, 80%)
CIE-LABlab(13.99, 7.96, 12.64)
CIE-LCHlch(13.99, 14.94, 57.80°)
OKLaboklab(26.15% 0.023 0.0308)
OKLCHoklch(26.15% 0.038 53.3)
XYZxyz(1.9645, 1.7276, 0.8021)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F12 #122633
analogous
#331215 #331F12 #332F12
triadic
#331F12 #12331F #1F1233
tetradic
#331F12 #153312 #122633 #2F1233
square
#331F12 #153312 #122633 #2F1233
split-complementary
#331F12 #12332F #121533
monochromatic
#170E08 #170E08 #331F12 #603A22 #8D5632

Accessibility & contrast

On white

15.61
#331F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F12
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F12#FFFFFF#000000##FFFFFF
##331F121.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252111
Deuteranopia (green-blind)
#292512
Tritanopia (blue-blind)
#381B1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f12;
/* rgb */ color: rgb(51, 31, 18);
/* oklch */ color: oklch(26.1% 0.038 53.3);
Tailwind
colors: {
  custom: {
    50: '#6c5a50',
    500: '#331f12',
    950: '#000000',
  },
}
SCSS
$custom: #331f12;
$custom-light: #6c5a50;
$custom-dark: #000000;
JSON
{
  "hex": "#331f12",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 23.636,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.03842,
    "h": 53.3
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#331F12
secondary
#35566B
accent
#A2D750
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070302
muted
#7A7878

Preview Lab

Preview with #331F12

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

Preview Lab → · Contrast checker → · Palette generator →

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