#31230B#31230B

#31230B is a dark, muted orange. Relative luminance 0.019; OKLCH L 26.7% C 0.043 H 78.6°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#31230B
RGBrgb(49, 35, 11)
HSLhsl(38, 63%, 12%)
HSVhsv(38, 78%, 19%)
CMYKcmyk(0%, 28.6%, 77.6%, 80.8%)
CIE-LABlab(14.84, 3.43, 17.32)
CIE-LCHlch(14.84, 17.66, 78.79°)
OKLaboklab(26.71% 0.0085 0.042)
OKLCHoklch(26.71% 0.043 78.6)
XYZxyz(1.9282, 1.8793, 0.5777)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31230B #0B1931
analogous
#31100B #31230B #2C310B
triadic
#31230B #0B3123 #230B31
tetradic
#31230B #0B3110 #0B1931 #310B2C
square
#31230B #0B3110 #0B1931 #310B2C
split-complementary
#31230B #0B2C31 #100B31
monochromatic
#191206 #191206 #31230B #634716 #956A21

Accessibility & contrast

On white

15.26
#31230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#31230B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31230B
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31230B#FFFFFF#000000##FFFFFF
##31230B1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282309
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#361F1E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #31230b;
/* rgb */ color: rgb(49, 35, 11);
/* oklch */ color: oklch(26.7% 0.043 78.6);
Tailwind
colors: {
  custom: {
    50: '#6b5d4c',
    500: '#31230b',
    950: '#000000',
  },
}
SCSS
$custom: #31230b;
$custom-light: #6b5d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#31230b",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 37.895,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26714,
    "c": 0.0428,
    "h": 78.6
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#31230B
secondary
#2A436E
accent
#7EE641
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31230B

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

Preview Lab → · Contrast checker → · Palette generator →

#31230B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva