#40200F#40200F

#40200F is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.4% C 0.057 H 47.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#40200F
RGBrgb(64, 32, 15)
HSLhsl(21, 62%, 15%)
HSVhsv(21, 77%, 25%)
CMYKcmyk(0%, 50%, 76.6%, 74.9%)
CIE-LABlab(16.29, 13.69, 17.72)
CIE-LCHlch(16.29, 22.39, 52.32°)
OKLaboklab(28.35% 0.0384 0.0416)
OKLCHoklch(28.35% 0.057 47.3)
XYZxyz(2.7173, 2.1578, 0.7252)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40200F #0F2F40
analogous
#400F17 #40200F #40380F
triadic
#40200F #0F4020 #200F40
tetradic
#40200F #17400F #0F2F40 #380F40
square
#40200F #17400F #0F2F40 #380F40
split-complementary
#40200F #0F4038 #0F1740
monochromatic
#190C06 #190C06 #40200F #72391B #A35226

Accessibility & contrast

On white

14.67
#40200F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#40200F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40200F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40200F#FFFFFF#000000##FFFFFF
##40200F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240D
Deuteranopia (green-blind)
#312B0F
Tritanopia (blue-blind)
#471A1C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #40200f;
/* rgb */ color: rgb(64, 32, 15);
/* oklch */ color: oklch(28.4% 0.057 47.3);
Tailwind
colors: {
  custom: {
    50: '#785c4e',
    500: '#40200f',
    950: '#000000',
  },
}
SCSS
$custom: #40200f;
$custom-light: #785c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40200f",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 15
  },
  "hsl": {
    "h": 20.816,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28351,
    "c": 0.05656,
    "h": 47.3
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#40200F
secondary
#30617A
accent
#ADE543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40200F

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

Preview Lab → · Contrast checker → · Palette generator →

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