#40220D#40220D

#40220D is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.7% C 0.056 H 53.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#40220D
RGBrgb(64, 34, 13)
HSLhsl(25, 66%, 15%)
HSVhsv(25, 80%, 25%)
CMYKcmyk(0%, 46.9%, 79.7%, 74.9%)
CIE-LABlab(16.81, 12.24, 19.37)
CIE-LCHlch(16.81, 22.91, 57.72°)
OKLaboklab(28.74% 0.0336 0.0451)
OKLCHoklch(28.74% 0.056 53.3)
XYZxyz(2.7593, 2.2634, 0.6723)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40220D #0D2B40
analogous
#400D11 #40220D #403C0D
triadic
#40220D #0D4022 #220D40
tetradic
#40220D #11400D #0D2B40 #3C0D40
square
#40220D #11400D #0D2B40 #3C0D40
split-complementary
#40220D #0D403C #0D1140
monochromatic
#190E05 #190E05 #40220D #733D17 #A65822

Accessibility & contrast

On white

14.46
#40220D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#40220D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40220D
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40220D#FFFFFF#000000##FFFFFF
##40220D1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250B
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#471C1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40220d;
/* rgb */ color: rgb(64, 34, 13);
/* oklch */ color: oklch(28.7% 0.056 53.3);
Tailwind
colors: {
  custom: {
    50: '#785d4d',
    500: '#40220d',
    950: '#000000',
  },
}
SCSS
$custom: #40220d;
$custom-light: #785d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40220d",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 13
  },
  "hsl": {
    "h": 24.706,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28741,
    "c": 0.05621,
    "h": 53.3
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#40220D
secondary
#2D5B7C
accent
#A3E93F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40220D

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

Preview Lab → · Contrast checker → · Palette generator →

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