#402F09#402F09

#402F09 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.7% C 0.057 H 83.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#402F09
RGBrgb(64, 47, 9)
HSLhsl(41, 75%, 14%)
HSVhsv(41, 86%, 25%)
CMYKcmyk(0%, 26.6%, 85.9%, 74.9%)
CIE-LABlab(20.61, 3.33, 25.55)
CIE-LCHlch(20.61, 25.77, 82.58°)
OKLaboklab(31.68% 0.0067 0.0571)
OKLCHoklch(31.68% 0.057 83.3)
XYZxyz(3.1804, 3.1430, 0.6975)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F09 #091A40
analogous
#401409 #402F09 #364009
triadic
#402F09 #09402F #2F0940
tetradic
#402F09 #094014 #091A40 #400936
square
#402F09 #094014 #091A40 #400936
split-complementary
#402F09 #093640 #140940
monochromatic
#1B1404 #1B1404 #402F09 #765611 #AB7E18

Accessibility & contrast

On white

12.89
#402F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402F09
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F09#FFFFFF#000000##FFFFFF
##402F091.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F04
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#462A27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402f09;
/* rgb */ color: rgb(64, 47, 9);
/* oklch */ color: oklch(31.7% 0.057 83.3);
Tailwind
colors: {
  custom: {
    50: '#78674b',
    500: '#402f09',
    950: '#000000',
  },
}
SCSS
$custom: #402f09;
$custom-light: #78674b;
$custom-dark: #000000;
JSON
{
  "hex": "#402f09",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 41.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.05749,
    "h": 83.3
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#402F09
secondary
#27427E
accent
#70F236
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #402F09

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

Preview Lab → · Contrast checker → · Palette generator →

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