#402803#402803

#402803 is a dark, moderate orange. Relative luminance 0.026; OKLCH L 30.0% C 0.061 H 72.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#402803
RGBrgb(64, 40, 3)
HSLhsl(36, 91%, 13%)
HSVhsv(36, 95%, 25%)
CMYKcmyk(0%, 37.5%, 95.3%, 74.9%)
CIE-LABlab(18.43, 7.66, 25.50)
CIE-LCHlch(18.43, 26.62, 73.28°)
OKLaboklab(29.96% 0.0181 0.0581)
OKLCHoklch(29.96% 0.061 72.7)
XYZxyz(2.8898, 2.6144, 0.4386)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402803 #031B40
analogous
#400903 #402803 #394003
triadic
#402803 #034028 #280340
tetradic
#402803 #034009 #031B40 #400339
square
#402803 #034009 #031B40 #400339
split-complementary
#402803 #033940 #090340
monochromatic
#1D1201 #1D1201 #402803 #7A4D06 #B57108

Accessibility & contrast

On white

13.79
#402803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#402803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402803
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402803#FFFFFF#000000##FFFFFF
##4028031.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#362F04
Tritanopia (blue-blind)
#472221
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402803;
/* rgb */ color: rgb(64, 40, 3);
/* oklch */ color: oklch(30.0% 0.061 72.7);
Tailwind
colors: {
  custom: {
    50: '#786148',
    500: '#402803',
    950: '#000000',
  },
}
SCSS
$custom: #402803;
$custom-light: #786148;
$custom-dark: #000000;
JSON
{
  "hex": "#402803",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 36.393,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2996,
    "c": 0.06087,
    "h": 72.7
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#402803
secondary
#1D4582
accent
#7DFF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090500
muted
#7B7977

Preview Lab

Preview with #402803

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

Preview Lab → · Contrast checker → · Palette generator →

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