#402206#402206

#402206 is a dark, moderate orange. Relative luminance 0.022; OKLCH L 28.7% C 0.060 H 59.2°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#402206
RGBrgb(64, 34, 6)
HSLhsl(29, 83%, 14%)
HSVhsv(29, 91%, 25%)
CMYKcmyk(0%, 46.9%, 90.6%, 74.9%)
CIE-LABlab(16.74, 11.82, 22.23)
CIE-LCHlch(16.74, 25.18, 61.99°)
OKLaboklab(28.66% 0.031 0.0519)
OKLCHoklch(28.66% 0.06 59.2)
XYZxyz(2.7195, 2.2475, 0.4629)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402206 #062440
analogous
#400607 #402206 #403F06
triadic
#402206 #064022 #220640
tetradic
#402206 #074006 #062440 #3F0640
square
#402206 #074006 #062440 #3F0640
split-complementary
#402206 #06403F #060740
monochromatic
#1C0F03 #1C0F03 #402206 #78400B #B05D10

Accessibility & contrast

On white

14.49
#402206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#402206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402206
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402206#FFFFFF#000000##FFFFFF
##4022061.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2503
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#471B1C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402206;
/* rgb */ color: rgb(64, 34, 6);
/* oklch */ color: oklch(28.7% 0.060 59.2);
Tailwind
colors: {
  custom: {
    50: '#785d49',
    500: '#402206',
    950: '#000000',
  },
}
SCSS
$custom: #402206;
$custom-light: #785d49;
$custom-dark: #000000;
JSON
{
  "hex": "#402206",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 6
  },
  "hsl": {
    "h": 28.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28657,
    "c": 0.06047,
    "h": 59.2
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#402206
secondary
#225380
accent
#97F92F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402206

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

Preview Lab → · Contrast checker → · Palette generator →

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