#40290C#40290C

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

Color values

HEX#40290C
RGBrgb(64, 41, 12)
HSLhsl(33, 68%, 15%)
HSVhsv(33, 81%, 25%)
CMYKcmyk(0%, 35.9%, 81.2%, 74.9%)
CIE-LABlab(18.81, 7.51, 22.24)
CIE-LCHlch(18.81, 23.47, 71.35°)
OKLaboklab(30.29% 0.0193 0.0507)
OKLCHoklch(30.29% 0.054 69.1)
XYZxyz(2.9739, 2.7027, 0.7128)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40290C #0C2340
analogous
#400F0C #40290C #3D400C
triadic
#40290C #0C4029 #290C40
tetradic
#40290C #0C400F #0C2340 #400C3D
square
#40290C #0C400F #0C2340 #400C3D
split-complementary
#40290C #0C3D40 #0F0C40
monochromatic
#1A1105 #1A1105 #40290C #744A16 #A76B1F

Accessibility & contrast

On white

13.63
#40290C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40290C
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40290C#FFFFFF#000000##FFFFFF
##40290C1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40290c;
/* rgb */ color: rgb(64, 41, 12);
/* oklch */ color: oklch(30.3% 0.054 69.1);
Tailwind
colors: {
  custom: {
    50: '#78624d',
    500: '#40290c',
    950: '#000000',
  },
}
SCSS
$custom: #40290c;
$custom-light: #78624d;
$custom-dark: #000000;
JSON
{
  "hex": "#40290c",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 12
  },
  "hsl": {
    "h": 33.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30286,
    "c": 0.05424,
    "h": 69.1
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#40290C
secondary
#2C4F7C
accent
#8AEB3D
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40290C

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

Preview Lab → · Contrast checker → · Palette generator →

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