#402204#402204

#402204 is a dark, moderate orange. Relative luminance 0.022; OKLCH L 28.6% C 0.062 H 60.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#402204
RGBrgb(64, 34, 4)
HSLhsl(30, 88%, 13%)
HSVhsv(30, 94%, 25%)
CMYKcmyk(0%, 46.9%, 93.8%, 74.9%)
CIE-LABlab(16.71, 11.71, 23.02)
CIE-LCHlch(16.71, 25.83, 63.04°)
OKLaboklab(28.63% 0.0302 0.0539)
OKLCHoklch(28.63% 0.062 60.8)
XYZxyz(2.7085, 2.2431, 0.4052)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402204 #042240
analogous
#400404 #402204 #404004
triadic
#402204 #044022 #220440
tetradic
#402204 #044004 #042240 #400440
square
#402204 #044004 #042240 #400440
split-complementary
#402204 #044040 #040440
monochromatic
#1D0F02 #1D0F02 #402204 #7A4108 #B35F0B

Accessibility & contrast

On white

14.50
#402204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402204
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402204#FFFFFF#000000##FFFFFF
##4022041.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402204;
/* rgb */ color: rgb(64, 34, 4);
/* oklch */ color: oklch(28.6% 0.062 60.8);
Tailwind
colors: {
  custom: {
    50: '#785d48',
    500: '#402204',
    950: '#000000',
  },
}
SCSS
$custom: #402204;
$custom-light: #785d48;
$custom-dark: #000000;
JSON
{
  "hex": "#402204",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 4
  },
  "hsl": {
    "h": 30,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28634,
    "c": 0.06181,
    "h": 60.8
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#402204
secondary
#1F5081
accent
#94FE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402204

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

Preview Lab → · Contrast checker → · Palette generator →

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