#40220F#40220F

#40220F is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.8% C 0.055 H 51.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#40220F
RGBrgb(64, 34, 15)
HSLhsl(23, 62%, 15%)
HSVhsv(23, 77%, 25%)
CMYKcmyk(0%, 46.9%, 76.6%, 74.9%)
CIE-LABlab(16.84, 12.37, 18.40)
CIE-LCHlch(16.84, 22.17, 56.07°)
OKLaboklab(28.77% 0.0344 0.0429)
OKLCHoklch(28.77% 0.055 51.3)
XYZxyz(2.7728, 2.2688, 0.7437)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40220F #0F2D40
analogous
#400F15 #40220F #403A0F
triadic
#40220F #0F4022 #220F40
tetradic
#40220F #15400F #0F2D40 #3A0F40
square
#40220F #15400F #0F2D40 #3A0F40
split-complementary
#40220F #0F403A #0F1540
monochromatic
#190D06 #190D06 #40220F #723C1B #A35726

Accessibility & contrast

On white

14.44
#40220F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40220F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40220F#FFFFFF#000000##FFFFFF
##40220F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250D
Deuteranopia (green-blind)
#322C0F
Tritanopia (blue-blind)
#471C1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #40220f;
/* rgb */ color: rgb(64, 34, 15);
/* oklch */ color: oklch(28.8% 0.055 51.3);
Tailwind
colors: {
  custom: {
    50: '#785d4e',
    500: '#40220f',
    950: '#000000',
  },
}
SCSS
$custom: #40220f;
$custom-light: #785d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40220f",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 23.265,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2877,
    "c": 0.05498,
    "h": 51.3
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#40220F
secondary
#305E7A
accent
#A6E543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40220F

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

Preview Lab → · Contrast checker → · Palette generator →

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