#402F14#402F14

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

Color values

HEX#402F14
RGBrgb(64, 47, 20)
HSLhsl(37, 52%, 16%)
HSVhsv(37, 69%, 25%)
CMYKcmyk(0%, 26.6%, 68.8%, 74.9%)
CIE-LABlab(20.73, 4.10, 20.05)
CIE-LCHlch(20.73, 20.47, 78.43°)
OKLaboklab(31.81% 0.0107 0.0467)
OKLCHoklch(31.81% 0.048 77.1)
XYZxyz(3.2573, 3.1737, 1.1027)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F14 #142540
analogous
#401914 #402F14 #3B4014
triadic
#402F14 #14402F #2F1440
tetradic
#402F14 #144019 #142540 #40143B
square
#402F14 #144019 #142540 #40143B
split-complementary
#402F14 #143B40 #191440
monochromatic
#171107 #171107 #402F14 #6F5123 #9D7331

Accessibility & contrast

On white

12.85
#402F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402F14
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F14#FFFFFF#000000##FFFFFF
##402F141.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F11
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#462A29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402f14;
/* rgb */ color: rgb(64, 47, 20);
/* oklch */ color: oklch(31.8% 0.048 77.1);
Tailwind
colors: {
  custom: {
    50: '#776752',
    500: '#402f14',
    950: '#000000',
  },
}
SCSS
$custom: #402f14;
$custom-light: #776752;
$custom-dark: #000000;
JSON
{
  "hex": "#402f14",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 20
  },
  "hsl": {
    "h": 36.818,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.31813,
    "c": 0.04792,
    "h": 77.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#402F14
secondary
#385178
accent
#84DC4C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402F14

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

Preview Lab → · Contrast checker → · Palette generator →

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