#40180A#40180A

#40180A is a dark, moderate orange. Relative luminance 0.018; OKLCH L 26.7% C 0.067 H 39.2°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#40180A
RGBrgb(64, 24, 10)
HSLhsl(16, 73%, 15%)
HSVhsv(16, 84%, 25%)
CMYKcmyk(0%, 62.5%, 84.4%, 74.9%)
CIE-LABlab(14.21, 18.42, 17.39)
CIE-LCHlch(14.21, 25.34, 43.35°)
OKLaboklab(26.73% 0.0518 0.0423)
OKLCHoklch(26.73% 0.067 39.2)
XYZxyz(2.4960, 1.7655, 0.4964)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40180A #0A3240
analogous
#400A17 #40180A #40330A
triadic
#40180A #0A4018 #180A40
tetradic
#40180A #17400A #0A3240 #330A40
square
#40180A #17400A #0A3240 #330A40
split-complementary
#40180A #0A4033 #0A1740
monochromatic
#1A0A04 #1A0A04 #40180A #752C12 #AA401B

Accessibility & contrast

On white

15.52
#40180A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#40180A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40180A
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40180A#FFFFFF#000000##FFFFFF
##40180A1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F08
Deuteranopia (green-blind)
#2D2709
Tritanopia (blue-blind)
#470F15
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #40180a;
/* rgb */ color: rgb(64, 24, 10);
/* oklch */ color: oklch(26.7% 0.067 39.2);
Tailwind
colors: {
  custom: {
    50: '#79564b',
    500: '#40180a',
    950: '#000000',
  },
}
SCSS
$custom: #40180a;
$custom-light: #79564b;
$custom-dark: #000000;
JSON
{
  "hex": "#40180a",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 10
  },
  "hsl": {
    "h": 15.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26733,
    "c": 0.06683,
    "h": 39.2
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#40180A
secondary
#29677D
accent
#C0F038
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #40180A

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

Preview Lab → · Contrast checker → · Palette generator →

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