#402B08#402B08

#402B08 is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.7% C 0.057 H 75.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#402B08
RGBrgb(64, 43, 8)
HSLhsl(38, 78%, 14%)
HSVhsv(38, 88%, 25%)
CMYKcmyk(0%, 32.8%, 87.5%, 74.9%)
CIE-LABlab(19.37, 5.94, 24.56)
CIE-LCHlch(19.37, 25.27, 76.41°)
OKLaboklab(30.71% 0.0141 0.0554)
OKLCHoklch(30.71% 0.057 75.8)
XYZxyz(3.0223, 2.8355, 0.6178)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B08 #081D40
analogous
#400F08 #402B08 #394008
triadic
#402B08 #08402B #2B0840
tetradic
#402B08 #08400F #081D40 #400839
square
#402B08 #08400F #081D40 #400839
split-complementary
#402B08 #083940 #0F0840
monochromatic
#1B1203 #1B1203 #402B08 #76500F #AD7416

Accessibility & contrast

On white

13.40
#402B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B08
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B08#FFFFFF#000000##FFFFFF
##402B081.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C04
Deuteranopia (green-blind)
#383109
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b08;
/* rgb */ color: rgb(64, 43, 8);
/* oklch */ color: oklch(30.7% 0.057 75.8);
Tailwind
colors: {
  custom: {
    50: '#78644b',
    500: '#402b08',
    950: '#000000',
  },
}
SCSS
$custom: #402b08;
$custom-light: #78644b;
$custom-dark: #000000;
JSON
{
  "hex": "#402b08",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 37.5,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30712,
    "c": 0.05716,
    "h": 75.8
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#402B08
secondary
#25477E
accent
#7CF434
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B08

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

Preview Lab → · Contrast checker → · Palette generator →

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