#40270E#40270E

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

Color values

HEX#40270E
RGBrgb(64, 39, 14)
HSLhsl(30, 64%, 15%)
HSVhsv(30, 78%, 25%)
CMYKcmyk(0%, 39.1%, 78.1%, 74.9%)
CIE-LABlab(18.25, 8.98, 20.61)
CIE-LCHlch(18.25, 22.48, 66.47°)
OKLaboklab(29.85% 0.024 0.0474)
OKLCHoklch(29.85% 0.053 63.1)
XYZxyz(2.9194, 2.5730, 0.7583)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40270E #0E2740
analogous
#400E0E #40270E #40400E
triadic
#40270E #0E4027 #270E40
tetradic
#40270E #0E400E #0E2740 #400E40
square
#40270E #0E400E #0E2740 #400E40
split-complementary
#40270E #0E4040 #0E0E40
monochromatic
#190F05 #190F05 #40270E #724619 #A46424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40270E#FFFFFF#000000##FFFFFF
##40270E1.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)
#2F290B
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#462122
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #40270e;
/* rgb */ color: rgb(64, 39, 14);
/* oklch */ color: oklch(29.9% 0.053 63.1);
Tailwind
colors: {
  custom: {
    50: '#78614e',
    500: '#40270e',
    950: '#000000',
  },
}
SCSS
$custom: #40270e;
$custom-light: #78614e;
$custom-dark: #000000;
JSON
{
  "hex": "#40270e",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 30,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29853,
    "c": 0.05312,
    "h": 63.1
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#40270E
secondary
#2F557B
accent
#94E741
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40270E

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

Preview Lab → · Contrast checker → · Palette generator →

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