#40270D#40270D

#40270D is a dark, muted orange. Relative luminance 0.026; OKLCH L 29.8% C 0.054 H 64.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#40270D
RGBrgb(64, 39, 13)
HSLhsl(31, 66%, 15%)
HSVhsv(31, 80%, 25%)
CMYKcmyk(0%, 39.1%, 79.7%, 74.9%)
CIE-LABlab(18.23, 8.91, 21.09)
CIE-LCHlch(18.23, 22.89, 67.11°)
OKLaboklab(29.84% 0.0236 0.0484)
OKLCHoklch(29.84% 0.054 64)
XYZxyz(2.9127, 2.5704, 0.7234)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40270D #0D2640
analogous
#400D0D #40270D #40400D
triadic
#40270D #0D4027 #270D40
tetradic
#40270D #0D400D #0D2640 #400D40
square
#40270D #0D400D #0D2640 #400D40
split-complementary
#40270D #0D4040 #0D0D40
monochromatic
#190F05 #190F05 #40270D #734617 #A66522

Accessibility & contrast

On white

13.87
#40270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#40270D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40270D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40270D#FFFFFF#000000##FFFFFF
##40270D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290A
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#462121
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #40270d;
/* rgb */ color: rgb(64, 39, 13);
/* oklch */ color: oklch(29.8% 0.054 64.0);
Tailwind
colors: {
  custom: {
    50: '#78614d',
    500: '#40270d',
    950: '#000000',
  },
}
SCSS
$custom: #40270d;
$custom-light: #78614d;
$custom-dark: #000000;
JSON
{
  "hex": "#40270d",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 30.588,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2984,
    "c": 0.05386,
    "h": 64
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#40270D
secondary
#2D547C
accent
#92E93F
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40270D

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

Preview Lab → · Contrast checker → · Palette generator →

#40270D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva