#402506#402506

#402506 is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.3% C 0.059 H 64.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#402506
RGBrgb(64, 37, 6)
HSLhsl(32, 83%, 14%)
HSVhsv(32, 91%, 25%)
CMYKcmyk(0%, 42.2%, 90.6%, 74.9%)
CIE-LABlab(17.58, 9.83, 23.27)
CIE-LCHlch(17.58, 25.26, 67.09°)
OKLaboklab(29.31% 0.0251 0.0536)
OKLCHoklch(29.31% 0.059 64.9)
XYZxyz(2.8090, 2.4266, 0.4927)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402506 #062140
analogous
#400806 #402506 #3E4006
triadic
#402506 #064025 #250640
tetradic
#402506 #064008 #062140 #40063E
square
#402506 #064008 #062140 #40063E
split-complementary
#402506 #063E40 #080640
monochromatic
#1C1003 #1C1003 #402506 #78450B #B06610

Accessibility & contrast

On white

14.14
#402506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#402506 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402506
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402506#FFFFFF#000000##FFFFFF
##4025061.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2703
Deuteranopia (green-blind)
#342E06
Tritanopia (blue-blind)
#471F1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #402506;
/* rgb */ color: rgb(64, 37, 6);
/* oklch */ color: oklch(29.3% 0.059 64.9);
Tailwind
colors: {
  custom: {
    50: '#785f49',
    500: '#402506',
    950: '#000000',
  },
}
SCSS
$custom: #402506;
$custom-light: #785f49;
$custom-dark: #000000;
JSON
{
  "hex": "#402506",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 6
  },
  "hsl": {
    "h": 32.069,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29313,
    "c": 0.0592,
    "h": 64.9
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#402506
secondary
#224E80
accent
#8DF92F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402506

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

Preview Lab → · Contrast checker → · Palette generator →

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