#402905#402905

#402905 is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.2% C 0.059 H 73.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#402905
RGBrgb(64, 41, 5)
HSLhsl(37, 86%, 14%)
HSVhsv(37, 92%, 25%)
CMYKcmyk(0%, 35.9%, 92.2%, 74.9%)
CIE-LABlab(18.74, 7.10, 25.06)
CIE-LCHlch(18.74, 26.04, 74.17°)
OKLaboklab(30.21% 0.0169 0.0568)
OKLCHoklch(30.21% 0.059 73.4)
XYZxyz(2.9349, 2.6871, 0.5076)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402905 #051C40
analogous
#400B05 #402905 #394005
triadic
#402905 #054029 #290540
tetradic
#402905 #05400B #051C40 #400539
square
#402905 #05400B #051C40 #400539
split-complementary
#402905 #053940 #0B0540
monochromatic
#1C1202 #1C1202 #402905 #794D09 #B2720E

Accessibility & contrast

On white

13.66
#402905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402905
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402905#FFFFFF#000000##FFFFFF
##4029051.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#472322
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402905;
/* rgb */ color: rgb(64, 41, 5);
/* oklch */ color: oklch(30.2% 0.059 73.4);
Tailwind
colors: {
  custom: {
    50: '#786249',
    500: '#402905',
    950: '#000000',
  },
}
SCSS
$custom: #402905;
$custom-light: #786249;
$custom-dark: #000000;
JSON
{
  "hex": "#402905",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 5
  },
  "hsl": {
    "h": 36.61,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30212,
    "c": 0.0593,
    "h": 73.4
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#402905
secondary
#204681
accent
#7DFC2C
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402905

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

Preview Lab → · Contrast checker → · Palette generator →

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