#31230C#31230C

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

Color values

HEX#31230C
RGBrgb(49, 35, 12)
HSLhsl(37, 61%, 12%)
HSVhsv(37, 76%, 19%)
CMYKcmyk(0%, 28.6%, 75.5%, 80.8%)
CIE-LABlab(14.85, 3.52, 16.90)
CIE-LCHlch(14.85, 17.26, 78.25°)
OKLaboklab(26.73% 0.0089 0.0409)
OKLCHoklch(26.73% 0.042 77.7)
XYZxyz(1.9341, 1.8817, 0.6091)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31230C #0C1A31
analogous
#31110C #31230C #2D310C
triadic
#31230C #0C3123 #230C31
tetradic
#31230C #0C3111 #0C1A31 #310C2D
square
#31230C #0C3111 #0C1A31 #310C2D
split-complementary
#31230C #0C2D31 #110C31
monochromatic
#191206 #191206 #31230C #624618 #936924

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31230C#FFFFFF#000000##FFFFFF
##31230C1.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)
#28230A
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#361F1E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #31230c;
/* rgb */ color: rgb(49, 35, 12);
/* oklch */ color: oklch(26.7% 0.042 77.7);
Tailwind
colors: {
  custom: {
    50: '#6b5d4c',
    500: '#31230c',
    950: '#000000',
  },
}
SCSS
$custom: #31230c;
$custom-light: #6b5d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#31230c",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 12
  },
  "hsl": {
    "h": 37.297,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26728,
    "c": 0.04181,
    "h": 77.7
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#31230C
secondary
#2C456D
accent
#80E444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31230C

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

Preview Lab → · Contrast checker → · Palette generator →

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