#40350B#40350B

#40350B is a dark, muted yellow. Relative luminance 0.037; OKLCH L 33.2% C 0.060 H 93.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#40350B
RGBrgb(64, 53, 11)
HSLhsl(48, 71%, 15%)
HSVhsv(48, 83%, 25%)
CMYKcmyk(0%, 17.2%, 82.8%, 74.9%)
CIE-LABlab(22.52, -0.50, 26.78)
CIE-LCHlch(22.52, 26.79, 91.07°)
OKLaboklab(33.19% -0.004 0.0595)
OKLCHoklch(33.19% 0.06 93.9)
XYZxyz(3.4480, 3.6606, 0.8415)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40350B #0B1640
analogous
#401B0B #40350B #31400B
triadic
#40350B #0B4035 #350B40
tetradic
#40350B #0B401B #0B1640 #400B31
square
#40350B #0B401B #0B1640 #400B31
split-complementary
#40350B #0B3140 #1B0B40
monochromatic
#1A1604 #1A1604 #40350B #746014 #A88B1D

Accessibility & contrast

On white

12.12
#40350B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#40350B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40350B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40350B#FFFFFF#000000##FFFFFF
##40350B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3405
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#46302D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40350b;
/* rgb */ color: rgb(64, 53, 11);
/* oklch */ color: oklch(33.2% 0.060 93.9);
Tailwind
colors: {
  custom: {
    50: '#776b4d',
    500: '#40350b',
    950: '#000000',
  },
}
SCSS
$custom: #40350b;
$custom-light: #776b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40350b",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 47.547,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.05963,
    "h": 93.9
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#40350B
secondary
#2A3B7D
accent
#60ED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40350B

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

Preview Lab → · Contrast checker → · Palette generator →

#40350B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva