#40220C#40220C

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

Color values

HEX#40220C
RGBrgb(64, 34, 12)
HSLhsl(25, 68%, 15%)
HSVhsv(25, 81%, 25%)
CMYKcmyk(0%, 46.9%, 81.2%, 74.9%)
CIE-LABlab(16.80, 12.17, 19.82)
CIE-LCHlch(16.80, 23.26, 58.45°)
OKLaboklab(28.73% 0.0332 0.0461)
OKLCHoklch(28.73% 0.057 54.3)
XYZxyz(2.7530, 2.2609, 0.6392)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40220C #0C2A40
analogous
#400C10 #40220C #403C0C
triadic
#40220C #0C4022 #220C40
tetradic
#40220C #10400C #0C2A40 #3C0C40
square
#40220C #10400C #0C2A40 #3C0C40
split-complementary
#40220C #0C403C #0C1040
monochromatic
#1A0E05 #1A0E05 #40220C #743D16 #A7591F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40220C#FFFFFF#000000##FFFFFF
##40220C1.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)
#2B250A
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#471C1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40220c;
/* rgb */ color: rgb(64, 34, 12);
/* oklch */ color: oklch(28.7% 0.057 54.3);
Tailwind
colors: {
  custom: {
    50: '#785d4c',
    500: '#40220c',
    950: '#000000',
  },
}
SCSS
$custom: #40220c;
$custom-light: #785d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40220c",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 25.385,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28728,
    "c": 0.05683,
    "h": 54.3
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#40220C
secondary
#2C5A7C
accent
#A1EB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40220C

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

Preview Lab → · Contrast checker → · Palette generator →

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