#402810#402810

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

Color values

HEX#402810
RGBrgb(64, 40, 16)
HSLhsl(30, 60%, 16%)
HSVhsv(30, 75%, 25%)
CMYKcmyk(0%, 37.5%, 75%, 74.9%)
CIE-LABlab(18.56, 8.45, 19.93)
CIE-LCHlch(18.56, 21.65, 67.01°)
OKLaboklab(30.11% 0.0228 0.046)
OKLCHoklch(30.11% 0.051 63.6)
XYZxyz(2.9669, 2.6452, 0.8444)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402810 #102840
analogous
#401010 #402810 #404010
triadic
#402810 #104028 #281040
tetradic
#402810 #104010 #102840 #401040
square
#402810 #104010 #102840 #401040
split-complementary
#402810 #104040 #101040
monochromatic
#180F06 #180F06 #402810 #71471C #A26528

Accessibility & contrast

On white

13.73
#402810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#402810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402810
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402810#FFFFFF#000000##FFFFFF
##4028101.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0E
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#462323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402810;
/* rgb */ color: rgb(64, 40, 16);
/* oklch */ color: oklch(30.1% 0.051 63.6);
Tailwind
colors: {
  custom: {
    50: '#77614f',
    500: '#402810',
    950: '#000000',
  },
}
SCSS
$custom: #402810;
$custom-light: #77614f;
$custom-dark: #000000;
JSON
{
  "hex": "#402810",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 16
  },
  "hsl": {
    "h": 30,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.30108,
    "c": 0.05132,
    "h": 63.6
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#402810
secondary
#32567A
accent
#94E345
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402810

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

Preview Lab → · Contrast checker → · Palette generator →

#402810 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva