#40280C#40280C

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

Color values

HEX#40280C
RGBrgb(64, 40, 12)
HSLhsl(32, 68%, 15%)
HSVhsv(32, 81%, 25%)
CMYKcmyk(0%, 37.5%, 81.2%, 74.9%)
CIE-LABlab(18.52, 8.17, 21.89)
CIE-LCHlch(18.52, 23.37, 69.53°)
OKLaboklab(30.06% 0.0213 0.05)
OKLCHoklch(30.06% 0.054 66.9)
XYZxyz(2.9397, 2.6344, 0.7014)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40280C #0C2440
analogous
#400E0C #40280C #3E400C
triadic
#40280C #0C4028 #280C40
tetradic
#40280C #0C400E #0C2440 #400C3E
square
#40280C #0C400E #0C2440 #400C3E
split-complementary
#40280C #0C3E40 #0E0C40
monochromatic
#1A1005 #1A1005 #40280C #744816 #A7681F

Accessibility & contrast

On white

13.75
#40280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40280C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40280C#FFFFFF#000000##FFFFFF
##40280C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A09
Deuteranopia (green-blind)
#362F0D
Tritanopia (blue-blind)
#462222
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #40280c;
/* rgb */ color: rgb(64, 40, 12);
/* oklch */ color: oklch(30.1% 0.054 66.9);
Tailwind
colors: {
  custom: {
    50: '#78614c',
    500: '#40280c',
    950: '#000000',
  },
}
SCSS
$custom: #40280c;
$custom-light: #78614c;
$custom-dark: #000000;
JSON
{
  "hex": "#40280c",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 32.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.05436,
    "h": 66.9
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#40280C
secondary
#2C517C
accent
#8DEB3D
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #40280C

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

Preview Lab → · Contrast checker → · Palette generator →

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