#402E26#402E26

#402E26 is a dark, muted orange. Relative luminance 0.032; OKLCH L 32.0% C 0.030 H 45.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#402E26
RGBrgb(64, 46, 38)
HSLhsl(18, 25%, 20%)
HSVhsv(18, 41%, 25%)
CMYKcmyk(0%, 28.1%, 40.6%, 74.9%)
CIE-LABlab(20.77, 6.93, 8.37)
CIE-LCHlch(20.77, 10.87, 50.37°)
OKLaboklab(31.96% 0.0212 0.0213)
OKLCHoklch(31.96% 0.03 45.1)
XYZxyz(3.4413, 3.1841, 2.2667)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E26 #263840
analogous
#40262B #402E26 #403B26
triadic
#402E26 #26402E #2E2640
tetradic
#402E26 #2B4026 #263840 #3B2640
square
#402E26 #2B4026 #263840 #3B2640
split-complementary
#402E26 #26403B #262B40
monochromatic
#130E0B #1A120F #402E26 #664A3D #8D6554

Accessibility & contrast

On white

12.83
#402E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#402E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E26
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E26#FFFFFF#000000##FFFFFF
##402E261.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333025
Deuteranopia (green-blind)
#373326
Tritanopia (blue-blind)
#452B2C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e26;
/* rgb */ color: rgb(64, 46, 38);
/* oklch */ color: oklch(32.0% 0.030 45.1);
Tailwind
colors: {
  custom: {
    50: '#756660',
    500: '#402e26',
    950: '#000000',
  },
}
SCSS
$custom: #402e26;
$custom-light: #756660;
$custom-dark: #000000;
JSON
{
  "hex": "#402e26",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 18.462,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.31956,
    "c": 0.03007,
    "h": 45.1
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#402E26
secondary
#506872
accent
#A6C266
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080604
muted
#7B7A79

Preview Lab

Preview with #402E26

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

Preview Lab → · Contrast checker → · Palette generator →

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