#331F02#331F02

#331F02 is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.9% C 0.053 H 72.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#331F02
RGBrgb(51, 31, 2)
HSLhsl(36, 92%, 10%)
HSVhsv(36, 96%, 20%)
CMYKcmyk(0%, 39.2%, 96.1%, 80%)
CIE-LABlab(13.76, 6.62, 19.64)
CIE-LCHlch(13.76, 20.73, 71.37°)
OKLaboklab(25.9% 0.0157 0.0502)
OKLCHoklch(25.9% 0.053 72.6)
XYZxyz(1.8663, 1.6883, 0.2850)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F02 #021633
analogous
#330602 #331F02 #2E3302
triadic
#331F02 #02331F #1F0233
tetradic
#331F02 #023306 #021633 #33022E
square
#331F02 #023306 #021633 #33022E
split-complementary
#331F02 #022E33 #060233
monochromatic
#1D1201 #1D1201 #331F02 #6E4304 #A96707

Accessibility & contrast

On white

15.70
#331F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F02
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F02#FFFFFF#000000##FFFFFF
##331F021.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#2B2503
Tritanopia (blue-blind)
#391A19
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331f02;
/* rgb */ color: rgb(51, 31, 2);
/* oklch */ color: oklch(25.9% 0.053 72.6);
Tailwind
colors: {
  custom: {
    50: '#6d5a47',
    500: '#331f02',
    950: '#000000',
  },
}
SCSS
$custom: #331f02;
$custom-light: #6d5a47;
$custom-dark: #000000;
JSON
{
  "hex": "#331f02",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 2
  },
  "hsl": {
    "h": 35.51,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25896,
    "c": 0.05255,
    "h": 72.6
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#331F02
secondary
#1A4077
accent
#80FF29
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070300
muted
#7A7877

Preview Lab

Preview with #331F02

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

Preview Lab → · Contrast checker → · Palette generator →

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