#402903#402903

#402903 is a dark, moderate orange. Relative luminance 0.027; OKLCH L 30.2% C 0.061 H 74.6°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#402903
RGBrgb(64, 41, 3)
HSLhsl(37, 91%, 13%)
HSVhsv(37, 95%, 25%)
CMYKcmyk(0%, 35.9%, 95.3%, 74.9%)
CIE-LABlab(18.73, 6.99, 25.85)
CIE-LCHlch(18.73, 26.78, 74.87°)
OKLaboklab(30.19% 0.0162 0.0587)
OKLCHoklch(30.19% 0.061 74.6)
XYZxyz(2.9240, 2.6827, 0.4500)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402903 #031A40
analogous
#400A03 #402903 #384003
triadic
#402903 #034029 #290340
tetradic
#402903 #03400A #031A40 #400338
square
#402903 #03400A #031A40 #400338
split-complementary
#402903 #033840 #0A0340
monochromatic
#1D1301 #1D1301 #402903 #7A4E06 #B57408

Accessibility & contrast

On white

13.67
#402903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#402903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402903
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402903#FFFFFF#000000##FFFFFF
##4029031.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#373004
Tritanopia (blue-blind)
#472322
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402903;
/* rgb */ color: rgb(64, 41, 3);
/* oklch */ color: oklch(30.2% 0.061 74.6);
Tailwind
colors: {
  custom: {
    50: '#786248',
    500: '#402903',
    950: '#000000',
  },
}
SCSS
$custom: #402903;
$custom-light: #786248;
$custom-dark: #000000;
JSON
{
  "hex": "#402903",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 3
  },
  "hsl": {
    "h": 37.377,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30192,
    "c": 0.06085,
    "h": 74.6
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#402903
secondary
#1D4382
accent
#7AFF29
background
#F7F5F4
surface
#EEEAE6
border
#C9C6C2
text
#090500
muted
#7B7977

Preview Lab

Preview with #402903

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

Preview Lab → · Contrast checker → · Palette generator →

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