#40270A#40270A

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

Color values

HEX#40270A
RGBrgb(64, 39, 10)
HSLhsl(32, 73%, 15%)
HSVhsv(32, 84%, 25%)
CMYKcmyk(0%, 39.1%, 84.4%, 74.9%)
CIE-LABlab(18.20, 8.72, 22.38)
CIE-LCHlch(18.20, 24.02, 68.70°)
OKLaboklab(29.81% 0.0226 0.0512)
OKLCHoklch(29.81% 0.056 66.2)
XYZxyz(2.8949, 2.5632, 0.6294)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40270A #0A2340
analogous
#400C0A #40270A #3E400A
triadic
#40270A #0A4027 #270A40
tetradic
#40270A #0A400C #0A2340 #400A3E
square
#40270A #0A400C #0A2340 #400A3E
split-complementary
#40270A #0A3E40 #0C0A40
monochromatic
#1A1004 #1A1004 #40270A #754712 #AA681B

Accessibility & contrast

On white

13.88
#40270A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40270A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40270A#FFFFFF#000000##FFFFFF
##40270A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2907
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#472121
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #40270a;
/* rgb */ color: rgb(64, 39, 10);
/* oklch */ color: oklch(29.8% 0.056 66.2);
Tailwind
colors: {
  custom: {
    50: '#78614b',
    500: '#40270a',
    950: '#000000',
  },
}
SCSS
$custom: #40270a;
$custom-light: #78614b;
$custom-dark: #000000;
JSON
{
  "hex": "#40270a",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 10
  },
  "hsl": {
    "h": 32.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29806,
    "c": 0.05594,
    "h": 66.2
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#40270A
secondary
#29507D
accent
#8DF038
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40270A

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

Preview Lab → · Contrast checker → · Palette generator →

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