#40290E#40290E

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

Color values

HEX#40290E
RGBrgb(64, 41, 14)
HSLhsl(32, 64%, 15%)
HSVhsv(32, 78%, 25%)
CMYKcmyk(0%, 35.9%, 78.1%, 74.9%)
CIE-LABlab(18.83, 7.64, 21.30)
CIE-LCHlch(18.83, 22.63, 70.28°)
OKLaboklab(30.31% 0.02 0.0488)
OKLCHoklch(30.31% 0.053 67.6)
XYZxyz(2.9868, 2.7078, 0.7807)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40290E #0E2540
analogous
#40100E #40290E #3E400E
triadic
#40290E #0E4029 #290E40
tetradic
#40290E #0E4010 #0E2540 #400E3E
square
#40290E #0E4010 #0E2540 #400E3E
split-complementary
#40290E #0E3E40 #100E40
monochromatic
#191005 #191005 #40290E #724919 #A46924

Accessibility & contrast

On white

13.62
#40290E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40290E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40290E#FFFFFF#000000##FFFFFF
##40290E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#462423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #40290e;
/* rgb */ color: rgb(64, 41, 14);
/* oklch */ color: oklch(30.3% 0.053 67.6);
Tailwind
colors: {
  custom: {
    50: '#78624e',
    500: '#40290e',
    950: '#000000',
  },
}
SCSS
$custom: #40290e;
$custom-light: #78624e;
$custom-dark: #000000;
JSON
{
  "hex": "#40290e",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 14
  },
  "hsl": {
    "h": 32.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3031,
    "c": 0.05271,
    "h": 67.6
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#40290E
secondary
#2F527B
accent
#8DE741
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40290E

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

Preview Lab → · Contrast checker → · Palette generator →

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