#402306#402306

#402306 is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.9% C 0.060 H 61.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#402306
RGBrgb(64, 35, 6)
HSLhsl(30, 83%, 14%)
HSVhsv(30, 91%, 25%)
CMYKcmyk(0%, 45.3%, 90.6%, 74.9%)
CIE-LABlab(17.02, 11.16, 22.58)
CIE-LCHlch(17.02, 25.19, 63.69°)
OKLaboklab(28.87% 0.029 0.0525)
OKLCHoklch(28.87% 0.06 61.1)
XYZxyz(2.7485, 2.3055, 0.4725)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402306 #062340
analogous
#400606 #402306 #404006
triadic
#402306 #064023 #230640
tetradic
#402306 #064006 #062340 #400640
square
#402306 #064006 #062340 #400640
split-complementary
#402306 #064040 #060640
monochromatic
#1C0F03 #1C0F03 #402306 #78420B #B06010

Accessibility & contrast

On white

14.37
#402306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#402306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402306
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402306#FFFFFF#000000##FFFFFF
##4023061.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#332D06
Tritanopia (blue-blind)
#471C1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402306;
/* rgb */ color: rgb(64, 35, 6);
/* oklch */ color: oklch(28.9% 0.060 61.1);
Tailwind
colors: {
  custom: {
    50: '#785e49',
    500: '#402306',
    950: '#000000',
  },
}
SCSS
$custom: #402306;
$custom-light: #785e49;
$custom-dark: #000000;
JSON
{
  "hex": "#402306",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 6
  },
  "hsl": {
    "h": 30,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28873,
    "c": 0.05998,
    "h": 61.1
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#402306
secondary
#225180
accent
#94F92F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402306

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

Preview Lab → · Contrast checker → · Palette generator →

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