#402305#402305

#402305 is a dark, moderate orange. Relative luminance 0.023; OKLCH L 28.9% C 0.061 H 61.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#402305
RGBrgb(64, 35, 5)
HSLhsl(31, 86%, 14%)
HSVhsv(31, 92%, 25%)
CMYKcmyk(0%, 45.3%, 92.2%, 74.9%)
CIE-LABlab(17.00, 11.11, 22.97)
CIE-LCHlch(17.00, 25.52, 64.20°)
OKLaboklab(28.86% 0.0286 0.0535)
OKLCHoklch(28.86% 0.061 61.8)
XYZxyz(2.7430, 2.3033, 0.4437)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402305 #052240
analogous
#400505 #402305 #3F4005
triadic
#402305 #054023 #230540
tetradic
#402305 #054005 #052240 #40053F
square
#402305 #054005 #052240 #40053F
split-complementary
#402305 #053F40 #050540
monochromatic
#1C1002 #1C1002 #402305 #794209 #B2610E

Accessibility & contrast

On white

14.38
#402305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402305
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402305#FFFFFF#000000##FFFFFF
##4023051.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402305;
/* rgb */ color: rgb(64, 35, 5);
/* oklch */ color: oklch(28.9% 0.061 61.8);
Tailwind
colors: {
  custom: {
    50: '#785e49',
    500: '#402305',
    950: '#000000',
  },
}
SCSS
$custom: #402305;
$custom-light: #785e49;
$custom-dark: #000000;
JSON
{
  "hex": "#402305",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 5
  },
  "hsl": {
    "h": 30.508,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28861,
    "c": 0.06066,
    "h": 61.8
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#402305
secondary
#205081
accent
#92FC2C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402305

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

Preview Lab → · Contrast checker → · Palette generator →

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