#402612#402612

#402612 is a dark, muted orange. Relative luminance 0.025; OKLCH L 29.7% C 0.051 H 56.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#402612
RGBrgb(64, 38, 18)
HSLhsl(26, 56%, 16%)
HSVhsv(26, 72%, 25%)
CMYKcmyk(0%, 40.6%, 71.9%, 74.9%)
CIE-LABlab(18.01, 9.95, 18.11)
CIE-LCHlch(18.01, 20.66, 61.21°)
OKLaboklab(29.69% 0.0277 0.0422)
OKLCHoklch(29.69% 0.051 56.8)
XYZxyz(2.9169, 2.5202, 0.9050)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402612 #122C40
analogous
#401215 #402612 #403D12
triadic
#402612 #124026 #261240
tetradic
#402612 #154012 #122C40 #3D1240
square
#402612 #154012 #122C40 #3D1240
split-complementary
#402612 #12403D #121540
monochromatic
#180E07 #180E07 #402612 #70421F #A05F2D

Accessibility & contrast

On white

13.96
#402612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#402612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402612
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402612#FFFFFF#000000##FFFFFF
##4026121.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#462121
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402612;
/* rgb */ color: rgb(64, 38, 18);
/* oklch */ color: oklch(29.7% 0.051 56.8);
Tailwind
colors: {
  custom: {
    50: '#776050',
    500: '#402612',
    950: '#000000',
  },
}
SCSS
$custom: #402612;
$custom-light: #776050;
$custom-dark: #000000;
JSON
{
  "hex": "#402612",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 18
  },
  "hsl": {
    "h": 26.087,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29687,
    "c": 0.0505,
    "h": 56.8
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#402612
secondary
#355B79
accent
#9EDF48
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402612

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

Preview Lab → · Contrast checker → · Palette generator →

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