#40280F#40280F

#40280F is a dark, muted orange. Relative luminance 0.026; OKLCH L 30.1% C 0.052 H 64.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#40280F
RGBrgb(64, 40, 15)
HSLhsl(31, 62%, 15%)
HSVhsv(31, 77%, 25%)
CMYKcmyk(0%, 37.5%, 76.6%, 74.9%)
CIE-LABlab(18.55, 8.38, 20.45)
CIE-LCHlch(18.55, 22.10, 67.73°)
OKLaboklab(30.09% 0.0224 0.047)
OKLCHoklch(30.09% 0.052 64.5)
XYZxyz(2.9596, 2.6423, 0.8060)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40280F #0F2740
analogous
#400F0F #40280F #3F400F
triadic
#40280F #0F4028 #280F40
tetradic
#40280F #0F400F #0F2740 #400F3F
square
#40280F #0F400F #0F2740 #400F3F
split-complementary
#40280F #0F3F40 #0F0F40
monochromatic
#190F06 #190F06 #40280F #72471B #A36626

Accessibility & contrast

On white

13.74
#40280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#40280F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40280F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40280F#FFFFFF#000000##FFFFFF
##40280F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#462322
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #40280f;
/* rgb */ color: rgb(64, 40, 15);
/* oklch */ color: oklch(30.1% 0.052 64.5);
Tailwind
colors: {
  custom: {
    50: '#78614e',
    500: '#40280f',
    950: '#000000',
  },
}
SCSS
$custom: #40280f;
$custom-light: #78614e;
$custom-dark: #000000;
JSON
{
  "hex": "#40280f",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 30.612,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30094,
    "c": 0.0521,
    "h": 64.5
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#40280F
secondary
#30557A
accent
#92E543
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40280F

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

Preview Lab → · Contrast checker → · Palette generator →

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