#402F10#402F10

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

Color values

HEX#402F10
RGBrgb(64, 47, 16)
HSLhsl(39, 60%, 16%)
HSVhsv(39, 75%, 25%)
CMYKcmyk(0%, 26.6%, 75%, 74.9%)
CIE-LABlab(20.68, 3.78, 22.34)
CIE-LCHlch(20.68, 22.66, 80.41°)
OKLaboklab(31.76% 0.0091 0.051)
OKLCHoklch(31.76% 0.052 79.9)
XYZxyz(3.2246, 3.1607, 0.9303)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F10 #102140
analogous
#401710 #402F10 #394010
triadic
#402F10 #10402F #2F1040
tetradic
#402F10 #104017 #102140 #401039
square
#402F10 #104017 #102140 #401039
split-complementary
#402F10 #103940 #171040
monochromatic
#181206 #181206 #402F10 #71531C #A27728

Accessibility & contrast

On white

12.87
#402F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#402F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402F10
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F10#FFFFFF#000000##FFFFFF
##402F101.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0D
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#462A28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402f10;
/* rgb */ color: rgb(64, 47, 16);
/* oklch */ color: oklch(31.8% 0.052 79.9);
Tailwind
colors: {
  custom: {
    50: '#77674f',
    500: '#402f10',
    950: '#000000',
  },
}
SCSS
$custom: #402f10;
$custom-light: #77674f;
$custom-dark: #000000;
JSON
{
  "hex": "#402f10",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 38.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.05177,
    "h": 79.9
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#402F10
secondary
#324B7A
accent
#7DE345
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402F10

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

Preview Lab → · Contrast checker → · Palette generator →

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