#40300F#40300F

#40300F is a dark, muted orange. Relative luminance 0.032; OKLCH L 32.0% C 0.053 H 82.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#40300F
RGBrgb(64, 48, 15)
HSLhsl(40, 62%, 15%)
HSVhsv(40, 77%, 25%)
CMYKcmyk(0%, 25%, 76.6%, 74.9%)
CIE-LABlab(20.98, 3.04, 23.21)
CIE-LCHlch(20.98, 23.41, 82.54°)
OKLaboklab(31.99% 0.0067 0.0527)
OKLCHoklch(31.99% 0.053 82.7)
XYZxyz(3.2577, 3.2386, 0.9054)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40300F #0F1F40
analogous
#40170F #40300F #37400F
triadic
#40300F #0F4030 #300F40
tetradic
#40300F #0F4017 #0F1F40 #400F37
square
#40300F #0F4017 #0F1F40 #400F37
split-complementary
#40300F #0F3740 #170F40
monochromatic
#191306 #191306 #40300F #72551B #A37A26

Accessibility & contrast

On white

12.75
#40300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40300F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40300F#FFFFFF#000000##FFFFFF
##40300F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#462B29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #40300f;
/* rgb */ color: rgb(64, 48, 15);
/* oklch */ color: oklch(32.0% 0.053 82.7);
Tailwind
colors: {
  custom: {
    50: '#77684f',
    500: '#40300f',
    950: '#000000',
  },
}
SCSS
$custom: #40300f;
$custom-light: #77684f;
$custom-dark: #000000;
JSON
{
  "hex": "#40300f",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 40.408,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.05309,
    "h": 82.7
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#40300F
secondary
#30497A
accent
#78E543
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40300F

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

Preview Lab → · Contrast checker → · Palette generator →

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