#40350C#40350C

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

Color values

HEX#40350C
RGBrgb(64, 53, 12)
HSLhsl(47, 68%, 15%)
HSVhsv(47, 81%, 25%)
CMYKcmyk(0%, 17.2%, 81.2%, 74.9%)
CIE-LABlab(22.52, -0.44, 26.35)
CIE-LCHlch(22.52, 26.35, 90.95°)
OKLaboklab(33.2% -0.0037 0.0587)
OKLCHoklch(33.2% 0.059 93.6)
XYZxyz(3.4540, 3.6629, 0.8728)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40350C #0C1740
analogous
#401B0C #40350C #31400C
triadic
#40350C #0C4035 #350C40
tetradic
#40350C #0C401B #0C1740 #400C31
square
#40350C #0C401B #0C1740 #400C31
split-complementary
#40350C #0C3140 #1B0C40
monochromatic
#1A1505 #1A1505 #40350C #746016 #A78A1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40350c;
/* rgb */ color: rgb(64, 53, 12);
/* oklch */ color: oklch(33.2% 0.059 93.6);
Tailwind
colors: {
  custom: {
    50: '#776b4e',
    500: '#40350c',
    950: '#000000',
  },
}
SCSS
$custom: #40350c;
$custom-light: #776b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40350c",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 47.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33199,
    "c": 0.05884,
    "h": 93.6
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#40350C
secondary
#2C3D7C
accent
#61EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40350C

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

Preview Lab → · Contrast checker → · Palette generator →

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