#402208#402208

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

Color values

HEX#402208
RGBrgb(64, 34, 8)
HSLhsl(28, 78%, 14%)
HSVhsv(28, 88%, 25%)
CMYKcmyk(0%, 46.9%, 87.5%, 74.9%)
CIE-LABlab(16.76, 11.94, 21.45)
CIE-LCHlch(16.76, 24.55, 60.90°)
OKLaboklab(28.68% 0.0317 0.05)
OKLCHoklch(28.68% 0.059 57.6)
XYZxyz(2.7304, 2.2519, 0.5205)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402208 #082640
analogous
#40080A #402208 #403E08
triadic
#402208 #084022 #220840
tetradic
#402208 #0A4008 #082640 #3E0840
square
#402208 #0A4008 #082640 #3E0840
split-complementary
#402208 #08403E #080A40
monochromatic
#1B0E03 #1B0E03 #402208 #763F0F #AD5C16

Accessibility & contrast

On white

14.48
#402208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#402208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402208
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402208#FFFFFF#000000##FFFFFF
##4022081.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#471B1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402208;
/* rgb */ color: rgb(64, 34, 8);
/* oklch */ color: oklch(28.7% 0.059 57.6);
Tailwind
colors: {
  custom: {
    50: '#785d4a',
    500: '#402208',
    950: '#000000',
  },
}
SCSS
$custom: #402208;
$custom-light: #785d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#402208",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 8
  },
  "hsl": {
    "h": 27.857,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.0592,
    "h": 57.6
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#402208
secondary
#25557E
accent
#9BF434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402208

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

Preview Lab → · Contrast checker → · Palette generator →

#402208 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva