#402C07#402C07

#402C07 is a dark, muted orange. Relative luminance 0.029; OKLCH L 30.9% C 0.058 H 78.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#402C07
RGBrgb(64, 44, 7)
HSLhsl(39, 80%, 14%)
HSVhsv(39, 89%, 25%)
CMYKcmyk(0%, 31.2%, 89.1%, 74.9%)
CIE-LABlab(19.67, 5.21, 25.31)
CIE-LCHlch(19.67, 25.84, 78.36°)
OKLaboklab(30.94% 0.0118 0.0569)
OKLCHoklch(30.94% 0.058 78.3)
XYZxyz(3.0536, 2.9069, 0.6012)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C07 #071B40
analogous
#401007 #402C07 #384007
triadic
#402C07 #07402C #2C0740
tetradic
#402C07 #074010 #071B40 #400738
square
#402C07 #074010 #071B40 #400738
split-complementary
#402C07 #073840 #100740
monochromatic
#1C1303 #1C1303 #402C07 #77520D #AE7813

Accessibility & contrast

On white

13.28
#402C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#402C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C07
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C07#FFFFFF#000000##FFFFFF
##402C071.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#383208
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c07;
/* rgb */ color: rgb(64, 44, 7);
/* oklch */ color: oklch(30.9% 0.058 78.3);
Tailwind
colors: {
  custom: {
    50: '#78644a',
    500: '#402c07',
    950: '#000000',
  },
}
SCSS
$custom: #402c07;
$custom-light: #78644a;
$custom-dark: #000000;
JSON
{
  "hex": "#402c07",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 38.947,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30939,
    "c": 0.05807,
    "h": 78.3
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#402C07
secondary
#24447F
accent
#76F731
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C07

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

Preview Lab → · Contrast checker → · Palette generator →

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