#311F02#311F02

#311F02 is a dark, muted orange. Relative luminance 0.016; OKLCH L 25.6% C 0.051 H 75.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#311F02
RGBrgb(49, 31, 2)
HSLhsl(37, 92%, 10%)
HSVhsv(37, 96%, 19%)
CMYKcmyk(0%, 36.7%, 95.9%, 80.8%)
CIE-LABlab(13.46, 5.50, 19.19)
CIE-LCHlch(13.46, 19.96, 74.00°)
OKLaboklab(25.6% 0.0126 0.0495)
OKLCHoklch(25.6% 0.051 75.7)
XYZxyz(1.7677, 1.6375, 0.2804)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311F02 #021431
analogous
#310702 #311F02 #2C3102
triadic
#311F02 #02311F #1F0231
tetradic
#311F02 #023107 #021431 #31022C
square
#311F02 #023107 #021431 #31022C
split-complementary
#311F02 #022C31 #070231
monochromatic
#1D1301 #1D1301 #311F02 #6C4404 #A76907

Accessibility & contrast

On white

15.82
#311F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#311F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311F02
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311F02#FFFFFF#000000##FFFFFF
##311F021.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#2A2403
Tritanopia (blue-blind)
#361A19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #311f02;
/* rgb */ color: rgb(49, 31, 2);
/* oklch */ color: oklch(25.6% 0.051 75.7);
Tailwind
colors: {
  custom: {
    50: '#6b5a47',
    500: '#311f02',
    950: '#000000',
  },
}
SCSS
$custom: #311f02;
$custom-light: #6b5a47;
$custom-dark: #000000;
JSON
{
  "hex": "#311f02",
  "rgb": {
    "r": 49,
    "g": 31,
    "b": 2
  },
  "hsl": {
    "h": 37.021,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.05109,
    "h": 75.7
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#311F02
secondary
#193D75
accent
#7BFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070300
muted
#7A7877

Preview Lab

Preview with #311F02

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

Preview Lab → · Contrast checker → · Palette generator →

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