#402F03#402F03

#402F03 is a dark, moderate orange. Relative luminance 0.031; OKLCH L 31.6% C 0.062 H 85.7°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#402F03
RGBrgb(64, 47, 3)
HSLhsl(43, 91%, 13%)
HSVhsv(43, 95%, 25%)
CMYKcmyk(0%, 26.6%, 95.3%, 74.9%)
CIE-LABlab(20.56, 2.99, 27.94)
CIE-LCHlch(20.56, 28.10, 83.89°)
OKLaboklab(31.62% 0.0047 0.062)
OKLCHoklch(31.62% 0.062 85.7)
XYZxyz(3.1475, 3.1298, 0.5245)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F03 #031440
analogous
#401003 #402F03 #324003
triadic
#402F03 #03402F #2F0340
tetradic
#402F03 #034010 #031440 #400332
square
#402F03 #034010 #031440 #400332
split-complementary
#402F03 #033240 #100340
monochromatic
#1D1501 #1D1501 #402F03 #7A5A06 #B58508

Accessibility & contrast

On white

12.92
#402F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#402F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402F03
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F03#FFFFFF#000000##FFFFFF
##402F031.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#3B3305
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402f03;
/* rgb */ color: rgb(64, 47, 3);
/* oklch */ color: oklch(31.6% 0.062 85.7);
Tailwind
colors: {
  custom: {
    50: '#786749',
    500: '#402f03',
    950: '#000000',
  },
}
SCSS
$custom: #402f03;
$custom-light: #786749;
$custom-dark: #000000;
JSON
{
  "hex": "#402f03",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 43.279,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.06215,
    "h": 85.7
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#402F03
secondary
#1D3982
accent
#64FF29
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #402F03

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

Preview Lab → · Contrast checker → · Palette generator →

#402F03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva