#40290B#40290B

#40290B is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.3% C 0.055 H 69.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#40290B
RGBrgb(64, 41, 11)
HSLhsl(34, 71%, 15%)
HSVhsv(34, 83%, 25%)
CMYKcmyk(0%, 35.9%, 82.8%, 74.9%)
CIE-LABlab(18.80, 7.44, 22.67)
CIE-LCHlch(18.80, 23.86, 71.82°)
OKLaboklab(30.28% 0.019 0.0516)
OKLCHoklch(30.28% 0.055 69.8)
XYZxyz(2.9679, 2.7003, 0.6814)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40290B #0B2240
analogous
#400E0B #40290B #3D400B
triadic
#40290B #0B4029 #290B40
tetradic
#40290B #0B400E #0B2240 #400B3D
square
#40290B #0B400E #0B2240 #400B3D
split-complementary
#40290B #0B3D40 #0E0B40
monochromatic
#1A1104 #1A1104 #40290B #744A14 #A86C1D

Accessibility & contrast

On white

13.64
#40290B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#40290B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40290B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40290B#FFFFFF#000000##FFFFFF
##40290B1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#462323
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #40290b;
/* rgb */ color: rgb(64, 41, 11);
/* oklch */ color: oklch(30.3% 0.055 69.8);
Tailwind
colors: {
  custom: {
    50: '#78624c',
    500: '#40290b',
    950: '#000000',
  },
}
SCSS
$custom: #40290b;
$custom-light: #78624c;
$custom-dark: #000000;
JSON
{
  "hex": "#40290b",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 11
  },
  "hsl": {
    "h": 33.962,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.30275,
    "c": 0.05497,
    "h": 69.8
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#40290B
secondary
#2A4E7D
accent
#88ED3A
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40290B

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

Preview Lab → · Contrast checker → · Palette generator →

#40290B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva