#402B0B#402B0B

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

Color values

HEX#402B0B
RGBrgb(64, 43, 11)
HSLhsl(36, 71%, 15%)
HSVhsv(36, 83%, 25%)
CMYKcmyk(0%, 32.8%, 82.8%, 74.9%)
CIE-LABlab(19.40, 6.10, 23.36)
CIE-LCHlch(19.40, 24.15, 75.36°)
OKLaboklab(30.74% 0.015 0.0529)
OKLCHoklch(30.74% 0.055 74.1)
XYZxyz(3.0388, 2.8422, 0.7051)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B0B #0B2040
analogous
#40100B #402B0B #3B400B
triadic
#402B0B #0B402B #2B0B40
tetradic
#402B0B #0B4010 #0B2040 #400B3B
square
#402B0B #0B4010 #0B2040 #400B3B
split-complementary
#402B0B #0B3B40 #100B40
monochromatic
#1A1204 #1A1204 #402B0B #744E14 #A8711D

Accessibility & contrast

On white

13.39
#402B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402B0B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B0B#FFFFFF#000000##FFFFFF
##402B0B1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C07
Deuteranopia (green-blind)
#37310C
Tritanopia (blue-blind)
#462624
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b0b;
/* rgb */ color: rgb(64, 43, 11);
/* oklch */ color: oklch(30.7% 0.055 74.1);
Tailwind
colors: {
  custom: {
    50: '#78644c',
    500: '#402b0b',
    950: '#000000',
  },
}
SCSS
$custom: #402b0b;
$custom-light: #78644c;
$custom-dark: #000000;
JSON
{
  "hex": "#402b0b",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 36.226,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.30742,
    "c": 0.05499,
    "h": 74.1
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#402B0B
secondary
#2A4B7D
accent
#81ED3A
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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