#402912#402912

#402912 is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.4% C 0.049 H 64.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#402912
RGBrgb(64, 41, 18)
HSLhsl(30, 56%, 16%)
HSVhsv(30, 72%, 25%)
CMYKcmyk(0%, 35.9%, 71.9%, 74.9%)
CIE-LABlab(18.88, 7.94, 19.14)
CIE-LCHlch(18.88, 20.72, 67.47°)
OKLaboklab(30.37% 0.0217 0.0445)
OKLCHoklch(30.37% 0.049 64)
XYZxyz(3.0167, 2.7198, 0.9382)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402912 #122940
analogous
#401212 #402912 #404012
triadic
#402912 #124029 #291240
tetradic
#402912 #124012 #122940 #401240
square
#402912 #124012 #122940 #401240
split-complementary
#402912 #124040 #121240
monochromatic
#180F07 #180F07 #402912 #70481F #A0662D

Accessibility & contrast

On white

13.60
#402912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#402912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402912
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402912#FFFFFF#000000##FFFFFF
##4029121.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#363012
Tritanopia (blue-blind)
#462424
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402912;
/* rgb */ color: rgb(64, 41, 18);
/* oklch */ color: oklch(30.4% 0.049 64.0);
Tailwind
colors: {
  custom: {
    50: '#776250',
    500: '#402912',
    950: '#000000',
  },
}
SCSS
$custom: #402912;
$custom-light: #776250;
$custom-dark: #000000;
JSON
{
  "hex": "#402912",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 30,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.04945,
    "h": 64
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#402912
secondary
#355779
accent
#94DF48
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402912

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

Preview Lab → · Contrast checker → · Palette generator →

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