#402203#402203

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

Color values

HEX#402203
RGBrgb(64, 34, 3)
HSLhsl(30, 91%, 13%)
HSVhsv(30, 95%, 25%)
CMYKcmyk(0%, 46.9%, 95.3%, 74.9%)
CIE-LABlab(16.70, 11.66, 23.42)
CIE-LCHlch(16.70, 26.16, 63.54°)
OKLaboklab(28.62% 0.0298 0.055)
OKLCHoklch(28.62% 0.063 61.5)
XYZxyz(2.7031, 2.2409, 0.3763)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402203 #032140
analogous
#400403 #402203 #3F4003
triadic
#402203 #034022 #220340
tetradic
#402203 #034004 #032140 #40033F
square
#402203 #034004 #032140 #40033F
split-complementary
#402203 #033F40 #040340
monochromatic
#1D1001 #1D1001 #402203 #7A4106 #B56008

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402203#FFFFFF#000000##FFFFFF
##4022031.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)
#2B2500
Deuteranopia (green-blind)
#322C03
Tritanopia (blue-blind)
#471B1C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402203;
/* rgb */ color: rgb(64, 34, 3);
/* oklch */ color: oklch(28.6% 0.063 61.5);
Tailwind
colors: {
  custom: {
    50: '#785d48',
    500: '#402203',
    950: '#000000',
  },
}
SCSS
$custom: #402203;
$custom-light: #785d48;
$custom-dark: #000000;
JSON
{
  "hex": "#402203",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 3
  },
  "hsl": {
    "h": 30.492,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.28622,
    "c": 0.06251,
    "h": 61.5
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#402203
secondary
#1D4F82
accent
#92FF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402203

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

Preview Lab → · Contrast checker → · Palette generator →

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