#40330F#40330F

#40330F is a dark, muted orange. Relative luminance 0.035; OKLCH L 32.7% C 0.055 H 88.9°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#40330F
RGBrgb(64, 51, 15)
HSLhsl(44, 62%, 15%)
HSVhsv(44, 77%, 25%)
CMYKcmyk(0%, 20.3%, 76.6%, 74.9%)
CIE-LABlab(21.92, 1.06, 24.23)
CIE-LCHlch(21.92, 24.26, 87.49°)
OKLaboklab(32.73% 0.001 0.0548)
OKLCHoklch(32.73% 0.055 88.9)
XYZxyz(3.3846, 3.4923, 0.9477)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40330F #0F1C40
analogous
#401B0F #40330F #34400F
triadic
#40330F #0F4033 #330F40
tetradic
#40330F #0F401B #0F1C40 #400F34
square
#40330F #0F401B #0F1C40 #400F34
split-complementary
#40330F #0F3440 #1B0F40
monochromatic
#191406 #191406 #40330F #725B1B #A38226

Accessibility & contrast

On white

12.36
#40330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#40330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40330F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40330F#FFFFFF#000000##FFFFFF
##40330F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A320B
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#462E2B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #40330f;
/* rgb */ color: rgb(64, 51, 15);
/* oklch */ color: oklch(32.7% 0.055 88.9);
Tailwind
colors: {
  custom: {
    50: '#776a4f',
    500: '#40330f',
    950: '#000000',
  },
}
SCSS
$custom: #40330f;
$custom-light: #776a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#40330f",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 44.082,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32729,
    "c": 0.0548,
    "h": 88.9
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#40330F
secondary
#30447A
accent
#6EE543
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40330F

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

Preview Lab → · Contrast checker → · Palette generator →

#40330F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva