#402412#402412

#402412 is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.2% C 0.052 H 52.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#402412
RGBrgb(64, 36, 18)
HSLhsl(23, 56%, 16%)
HSVhsv(23, 72%, 25%)
CMYKcmyk(0%, 43.8%, 71.9%, 74.9%)
CIE-LABlab(17.44, 11.28, 17.42)
CIE-LCHlch(17.44, 20.76, 57.08°)
OKLaboklab(29.25% 0.0317 0.0408)
OKLCHoklch(29.25% 0.052 52.2)
XYZxyz(2.8546, 2.3957, 0.8842)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402412 #122E40
analogous
#401217 #402412 #403B12
triadic
#402412 #124024 #241240
tetradic
#402412 #174012 #122E40 #3B1240
square
#402412 #174012 #122E40 #3B1240
split-complementary
#402412 #12403B #121740
monochromatic
#180D07 #180D07 #402412 #703F1F #A05A2D

Accessibility & contrast

On white

14.20
#402412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#402412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402412
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402412#FFFFFF#000000##FFFFFF
##4024121.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#332D12
Tritanopia (blue-blind)
#461E20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #402412;
/* rgb */ color: rgb(64, 36, 18);
/* oklch */ color: oklch(29.2% 0.052 52.2);
Tailwind
colors: {
  custom: {
    50: '#785e50',
    500: '#402412',
    950: '#000000',
  },
}
SCSS
$custom: #402412;
$custom-light: #785e50;
$custom-dark: #000000;
JSON
{
  "hex": "#402412",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 18
  },
  "hsl": {
    "h": 23.478,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29247,
    "c": 0.05163,
    "h": 52.2
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#402412
secondary
#355E79
accent
#A4DF48
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402412

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

Preview Lab → · Contrast checker → · Palette generator →

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