#40350D#40350D

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

Color values

HEX#40350D
RGBrgb(64, 53, 13)
HSLhsl(47, 66%, 15%)
HSVhsv(47, 80%, 25%)
CMYKcmyk(0%, 17.2%, 79.7%, 74.9%)
CIE-LABlab(22.53, -0.38, 25.89)
CIE-LCHlch(22.53, 25.90, 90.83°)
OKLaboklab(33.21% -0.0034 0.0579)
OKLCHoklch(33.21% 0.058 93.4)
XYZxyz(3.4603, 3.6654, 0.9059)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40350D #0D1840
analogous
#401C0D #40350D #31400D
triadic
#40350D #0D4035 #350D40
tetradic
#40350D #0D401C #0D1840 #400D31
square
#40350D #0D401C #0D1840 #400D31
split-complementary
#40350D #0D3140 #1C0D40
monochromatic
#191505 #191505 #40350D #735F17 #A68922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40350D#FFFFFF#000000##FFFFFF
##40350D1.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)
#3B3408
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#46302D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40350d;
/* rgb */ color: rgb(64, 53, 13);
/* oklch */ color: oklch(33.2% 0.058 93.4);
Tailwind
colors: {
  custom: {
    50: '#776c4e',
    500: '#40350d',
    950: '#000000',
  },
}
SCSS
$custom: #40350d;
$custom-light: #776c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40350d",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 13
  },
  "hsl": {
    "h": 47.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33209,
    "c": 0.05802,
    "h": 93.4
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#40350D
secondary
#2D3E7C
accent
#63E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40350D

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

Preview Lab → · Contrast checker → · Palette generator →

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