#40350E#40350E

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

Color values

HEX#40350E
RGBrgb(64, 53, 14)
HSLhsl(47, 64%, 15%)
HSVhsv(47, 78%, 25%)
CMYKcmyk(0%, 17.2%, 78.1%, 74.9%)
CIE-LABlab(22.54, -0.31, 25.41)
CIE-LCHlch(22.54, 25.41, 90.70°)
OKLaboklab(33.22% -0.0031 0.0571)
OKLCHoklch(33.22% 0.057 93.1)
XYZxyz(3.4669, 3.6681, 0.9408)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40350E #0E1940
analogous
#401C0E #40350E #32400E
triadic
#40350E #0E4035 #350E40
tetradic
#40350E #0E401C #0E1940 #400E32
square
#40350E #0E401C #0E1940 #400E32
split-complementary
#40350E #0E3240 #1C0E40
monochromatic
#191505 #191505 #40350E #725F19 #A48824

Accessibility & contrast

On white

12.11
#40350E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40350E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40350E#FFFFFF#000000##FFFFFF
##40350E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40350e;
/* rgb */ color: rgb(64, 53, 14);
/* oklch */ color: oklch(33.2% 0.057 93.1);
Tailwind
colors: {
  custom: {
    50: '#776c4f',
    500: '#40350e',
    950: '#000000',
  },
}
SCSS
$custom: #40350e;
$custom-light: #776c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#40350e",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 14
  },
  "hsl": {
    "h": 46.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.05716,
    "h": 93.1
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#40350E
secondary
#2F407B
accent
#65E741
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #40350E

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

Preview Lab → · Contrast checker → · Palette generator →

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