#331F18#331F18

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

Color values

HEX#331F18
RGBrgb(51, 31, 24)
HSLhsl(16, 36%, 15%)
HSVhsv(16, 53%, 20%)
CMYKcmyk(0%, 39.2%, 52.9%, 80%)
CIE-LABlab(14.12, 8.69, 8.75)
CIE-LCHlch(14.12, 12.33, 45.19°)
OKLaboklab(26.29% 0.026 0.0219)
OKLCHoklch(26.29% 0.034 40.1)
XYZxyz(2.0202, 1.7499, 1.0953)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F18 #182C33
analogous
#33181F #331F18 #332D18
triadic
#331F18 #18331F #1F1833
tetradic
#331F18 #1F3318 #182C33 #2D1833
square
#331F18 #1F3318 #182C33 #2D1833
split-complementary
#331F18 #18332D #181F33
monochromatic
#150D0A #150D0A #331F18 #5D382C #86523F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331F18#FFFFFF#000000##FFFFFF
##331F181.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)
#242117
Deuteranopia (green-blind)
#292518
Tritanopia (blue-blind)
#381C1D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331f18;
/* rgb */ color: rgb(51, 31, 24);
/* oklch */ color: oklch(26.3% 0.034 40.1);
Tailwind
colors: {
  custom: {
    50: '#6c5a54',
    500: '#331f18',
    950: '#000000',
  },
}
SCSS
$custom: #331f18;
$custom-light: #6c5a54;
$custom-dark: #000000;
JSON
{
  "hex": "#331f18",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 15.556,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26289,
    "c": 0.03397,
    "h": 40.1
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#331F18
secondary
#3E5E68
accent
#AFCC5C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070402
muted
#7A7978

Preview Lab

Preview with #331F18

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

Preview Lab → · Contrast checker → · Palette generator →

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