#310F02#310F02

#310F02 is a very dark, moderate orange. Relative luminance 0.010; OKLCH L 22.1% C 0.061 H 42.8°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#310F02
RGBrgb(49, 15, 2)
HSLhsl(17, 92%, 10%)
HSVhsv(17, 96%, 19%)
CMYKcmyk(0%, 69.4%, 95.9%, 80.8%)
CIE-LABlab(8.98, 16.27, 13.00)
CIE-LCHlch(8.98, 20.83, 38.62°)
OKLaboklab(22.15% 0.0445 0.0412)
OKLCHoklch(22.15% 0.061 42.8)
XYZxyz(1.4486, 0.9992, 0.1740)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F02 #022431
analogous
#31020C #310F02 #312702
triadic
#310F02 #02310F #0F0231
tetradic
#310F02 #0C3102 #022431 #270231
square
#310F02 #0C3102 #022431 #270231
split-complementary
#310F02 #023127 #020C31
monochromatic
#1D0901 #1D0901 #310F02 #6C2104 #A73307

Accessibility & contrast

On white

17.50
#310F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F02
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F02#FFFFFF#000000##FFFFFF
##310F021.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191501
Deuteranopia (green-blind)
#211C01
Tritanopia (blue-blind)
#37070C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310f02;
/* rgb */ color: rgb(49, 15, 2);
/* oklch */ color: oklch(22.1% 0.061 42.8);
Tailwind
colors: {
  custom: {
    50: '#6c4e47',
    500: '#310f02',
    950: '#000000',
  },
}
SCSS
$custom: #310f02;
$custom-light: #6c4e47;
$custom-dark: #000000;
JSON
{
  "hex": "#310f02",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 2
  },
  "hsl": {
    "h": 16.596,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.2215,
    "c": 0.06059,
    "h": 42.8
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#310F02
secondary
#195C75
accent
#C4FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070200
muted
#7A7877

Preview Lab

Preview with #310F02

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

Preview Lab → · Contrast checker → · Palette generator →

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