#402703#402703

#402703 is a dark, moderate orange. Relative luminance 0.025; OKLCH L 29.7% C 0.061 H 70.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#402703
RGBrgb(64, 39, 3)
HSLhsl(35, 91%, 13%)
HSVhsv(35, 95%, 25%)
CMYKcmyk(0%, 39.1%, 95.3%, 74.9%)
CIE-LABlab(18.13, 8.33, 25.15)
CIE-LCHlch(18.13, 26.49, 71.68°)
OKLaboklab(29.73% 0.0201 0.0576)
OKLCHoklch(29.73% 0.061 70.8)
XYZxyz(2.8565, 2.5479, 0.4275)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402703 #031C40
analogous
#400803 #402703 #3A4003
triadic
#402703 #034027 #270340
tetradic
#402703 #034008 #031C40 #40033A
square
#402703 #034008 #031C40 #40033A
split-complementary
#402703 #033A40 #080340
monochromatic
#1D1201 #1D1201 #402703 #7A4B06 #B56E08

Accessibility & contrast

On white

13.91
#402703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#402703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402703
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402703#FFFFFF#000000##FFFFFF
##4027031.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#352F04
Tritanopia (blue-blind)
#472120
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402703;
/* rgb */ color: rgb(64, 39, 3);
/* oklch */ color: oklch(29.7% 0.061 70.8);
Tailwind
colors: {
  custom: {
    50: '#786148',
    500: '#402703',
    950: '#000000',
  },
}
SCSS
$custom: #402703;
$custom-light: #786148;
$custom-dark: #000000;
JSON
{
  "hex": "#402703",
  "rgb": {
    "r": 64,
    "g": 39,
    "b": 3
  },
  "hsl": {
    "h": 35.41,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29731,
    "c": 0.06097,
    "h": 70.8
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#402703
secondary
#1D4682
accent
#81FF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090500
muted
#7B7977

Preview Lab

Preview with #402703

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

Preview Lab → · Contrast checker → · Palette generator →

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