#402E14#402E14

#402E14 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.6% C 0.048 H 74.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#402E14
RGBrgb(64, 46, 20)
HSLhsl(35, 52%, 16%)
HSVhsv(35, 69%, 25%)
CMYKcmyk(0%, 28.1%, 68.8%, 74.9%)
CIE-LABlab(20.42, 4.77, 19.69)
CIE-LCHlch(20.42, 20.26, 76.38°)
OKLaboklab(31.57% 0.0126 0.046)
OKLCHoklch(31.57% 0.048 74.6)
XYZxyz(3.2178, 3.0947, 1.0895)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E14 #142640
analogous
#401814 #402E14 #3C4014
triadic
#402E14 #14402E #2E1440
tetradic
#402E14 #144018 #142640 #40143C
square
#402E14 #144018 #142640 #40143C
split-complementary
#402E14 #143C40 #181440
monochromatic
#171107 #171107 #402E14 #6F5023 #9D7131

Accessibility & contrast

On white

12.97
#402E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#402E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E14
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E14#FFFFFF#000000##FFFFFF
##402E141.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F12
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#462928
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e14;
/* rgb */ color: rgb(64, 46, 20);
/* oklch */ color: oklch(31.6% 0.048 74.6);
Tailwind
colors: {
  custom: {
    50: '#776652',
    500: '#402e14',
    950: '#000000',
  },
}
SCSS
$custom: #402e14;
$custom-light: #776652;
$custom-dark: #000000;
JSON
{
  "hex": "#402e14",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 20
  },
  "hsl": {
    "h": 35.455,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.31572,
    "c": 0.04765,
    "h": 74.6
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#402E14
secondary
#385278
accent
#87DC4C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402E14

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

Preview Lab → · Contrast checker → · Palette generator →

#402E14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva