#40290F#40290F

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

Color values

HEX#40290F
RGBrgb(64, 41, 15)
HSLhsl(32, 62%, 15%)
HSVhsv(32, 77%, 25%)
CMYKcmyk(0%, 35.9%, 76.6%, 74.9%)
CIE-LABlab(18.85, 7.71, 20.80)
CIE-LCHlch(18.85, 22.18, 69.67°)
OKLaboklab(30.32% 0.0204 0.0477)
OKLCHoklch(30.32% 0.052 66.8)
XYZxyz(2.9937, 2.7106, 0.8174)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40290F #0F2640
analogous
#40110F #40290F #3E400F
triadic
#40290F #0F4029 #290F40
tetradic
#40290F #0F4011 #0F2640 #400F3E
square
#40290F #0F4011 #0F2640 #400F3E
split-complementary
#40290F #0F3E40 #110F40
monochromatic
#191006 #191006 #40290F #72491B #A36926

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40290F#FFFFFF#000000##FFFFFF
##40290F1.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)
#312B0C
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#462423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #40290f;
/* rgb */ color: rgb(64, 41, 15);
/* oklch */ color: oklch(30.3% 0.052 66.8);
Tailwind
colors: {
  custom: {
    50: '#77624e',
    500: '#40290f',
    950: '#000000',
  },
}
SCSS
$custom: #40290f;
$custom-light: #77624e;
$custom-dark: #000000;
JSON
{
  "hex": "#40290f",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 31.837,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30323,
    "c": 0.05192,
    "h": 66.8
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#40290F
secondary
#30537A
accent
#8FE543
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40290F

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

Preview Lab → · Contrast checker → · Palette generator →

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