#402F16#402F16

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

Color values

HEX#402F16
RGBrgb(64, 47, 22)
HSLhsl(36, 49%, 17%)
HSVhsv(36, 66%, 25%)
CMYKcmyk(0%, 26.6%, 65.6%, 74.9%)
CIE-LABlab(20.76, 4.29, 18.86)
CIE-LCHlch(20.76, 19.34, 77.19°)
OKLaboklab(31.85% 0.0115 0.0444)
OKLCHoklch(31.85% 0.046 75.4)
XYZxyz(3.2759, 3.1812, 1.2004)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F16 #162740
analogous
#401A16 #402F16 #3C4016
triadic
#402F16 #16402F #2F1640
tetradic
#402F16 #16401A #162740 #40163C
square
#402F16 #16401A #162740 #40163C
split-complementary
#402F16 #163C40 #1A1640
monochromatic
#171108 #171108 #402F16 #6E5026 #9B7235

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402F16#FFFFFF#000000##FFFFFF
##402F161.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)
#353014
Deuteranopia (green-blind)
#393417
Tritanopia (blue-blind)
#462A29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402f16;
/* rgb */ color: rgb(64, 47, 22);
/* oklch */ color: oklch(31.8% 0.046 75.4);
Tailwind
colors: {
  custom: {
    50: '#776754',
    500: '#402f16',
    950: '#000000',
  },
}
SCSS
$custom: #402f16;
$custom-light: #776754;
$custom-dark: #000000;
JSON
{
  "hex": "#402f16",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 35.714,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.31845,
    "c": 0.04587,
    "h": 75.4
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#402F16
secondary
#3B5377
accent
#87D84F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402F16

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

Preview Lab → · Contrast checker → · Palette generator →

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