#402E10#402E10

#402E10 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.5% C 0.051 H 77.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#402E10
RGBrgb(64, 46, 16)
HSLhsl(38, 60%, 16%)
HSVhsv(38, 75%, 25%)
CMYKcmyk(0%, 28.1%, 75%, 74.9%)
CIE-LABlab(20.37, 4.44, 22.00)
CIE-LCHlch(20.37, 22.44, 78.58°)
OKLaboklab(31.51% 0.011 0.0503)
OKLCHoklch(31.51% 0.051 77.7)
XYZxyz(3.1851, 3.0816, 0.9172)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E10 #102240
analogous
#401610 #402E10 #3A4010
triadic
#402E10 #10402E #2E1040
tetradic
#402E10 #104016 #102240 #40103A
square
#402E10 #104016 #102240 #40103A
split-complementary
#402E10 #103A40 #161040
monochromatic
#181206 #181206 #402E10 #71511C #A27428

Accessibility & contrast

On white

12.99
#402E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402E10
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E10#FFFFFF#000000##FFFFFF
##402E101.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0D
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e10;
/* rgb */ color: rgb(64, 46, 16);
/* oklch */ color: oklch(31.5% 0.051 77.7);
Tailwind
colors: {
  custom: {
    50: '#77664f',
    500: '#402e10',
    950: '#000000',
  },
}
SCSS
$custom: #402e10;
$custom-light: #77664f;
$custom-dark: #000000;
JSON
{
  "hex": "#402e10",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 16
  },
  "hsl": {
    "h": 37.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31515,
    "c": 0.05144,
    "h": 77.7
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#402E10
secondary
#324D7A
accent
#80E345
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090502
muted
#7B7A78

Preview Lab

Preview with #402E10

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

Preview Lab → · Contrast checker → · Palette generator →

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