#40370D#40370D

#40370D is a dark, muted yellow. Relative luminance 0.039; OKLCH L 33.7% C 0.060 H 96.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#40370D
RGBrgb(64, 55, 13)
HSLhsl(49, 66%, 15%)
HSVhsv(49, 80%, 25%)
CMYKcmyk(0%, 14.1%, 79.7%, 74.9%)
CIE-LABlab(23.17, -1.67, 26.55)
CIE-LCHlch(23.17, 26.61, 93.59°)
OKLaboklab(33.72% -0.0071 0.0593)
OKLCHoklch(33.72% 0.06 96.8)
XYZxyz(3.5534, 3.8516, 0.9370)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40370D #0D1640
analogous
#401E0D #40370D #2F400D
triadic
#40370D #0D4037 #370D40
tetradic
#40370D #0D401E #0D1640 #400D2F
square
#40370D #0D401E #0D1640 #400D2F
split-complementary
#40370D #0D2F40 #1E0D40
monochromatic
#191605 #191605 #40370D #736317 #A68E22

Accessibility & contrast

On white

11.86
#40370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#40370D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40370D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40370D#FFFFFF#000000##FFFFFF
##40370D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3607
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#46322F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #40370d;
/* rgb */ color: rgb(64, 55, 13);
/* oklch */ color: oklch(33.7% 0.060 96.8);
Tailwind
colors: {
  custom: {
    50: '#776d4e',
    500: '#40370d',
    950: '#000000',
  },
}
SCSS
$custom: #40370d;
$custom-light: #776d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40370d",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 49.412,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33716,
    "c": 0.05971,
    "h": 96.8
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#40370D
secondary
#2D3B7C
accent
#5DE93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #40370D

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

Preview Lab → · Contrast checker → · Palette generator →

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