#40300B#40300B

#40300B is a dark, muted orange. Relative luminance 0.032; OKLCH L 31.9% C 0.056 H 84.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#40300B
RGBrgb(64, 48, 11)
HSLhsl(42, 71%, 15%)
HSVhsv(42, 83%, 25%)
CMYKcmyk(0%, 25%, 82.8%, 74.9%)
CIE-LABlab(20.94, 2.78, 25.09)
CIE-LCHlch(20.94, 25.24, 83.68°)
OKLaboklab(31.95% 0.0054 0.0562)
OKLCHoklch(31.95% 0.056 84.5)
XYZxyz(3.2319, 3.2283, 0.7694)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40300B #0B1B40
analogous
#40160B #40300B #36400B
triadic
#40300B #0B4030 #300B40
tetradic
#40300B #0B4016 #0B1B40 #400B36
square
#40300B #0B4016 #0B1B40 #400B36
split-complementary
#40300B #0B3640 #160B40
monochromatic
#1A1404 #1A1404 #40300B #745714 #A87E1D

Accessibility & contrast

On white

12.76
#40300B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#40300B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40300B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40300B#FFFFFF#000000##FFFFFF
##40300B1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#462B29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #40300b;
/* rgb */ color: rgb(64, 48, 11);
/* oklch */ color: oklch(31.9% 0.056 84.5);
Tailwind
colors: {
  custom: {
    50: '#77684d',
    500: '#40300b',
    950: '#000000',
  },
}
SCSS
$custom: #40300b;
$custom-light: #77684d;
$custom-dark: #000000;
JSON
{
  "hex": "#40300b",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 41.887,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31945,
    "c": 0.05644,
    "h": 84.5
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#40300B
secondary
#2A437D
accent
#70ED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40300B

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

Preview Lab → · Contrast checker → · Palette generator →

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