#40360D#40360D

#40360D is a dark, muted yellow. Relative luminance 0.038; OKLCH L 33.5% C 0.059 H 95.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#40360D
RGBrgb(64, 54, 13)
HSLhsl(48, 66%, 15%)
HSVhsv(48, 80%, 25%)
CMYKcmyk(0%, 15.6%, 79.7%, 74.9%)
CIE-LABlab(22.85, -1.03, 26.22)
CIE-LCHlch(22.85, 26.24, 92.24°)
OKLaboklab(33.46% -0.0053 0.0586)
OKLCHoklch(33.46% 0.059 95.1)
XYZxyz(3.5063, 3.7576, 0.9213)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40360D #0D1740
analogous
#401C0D #40360D #31400D
triadic
#40360D #0D4036 #360D40
tetradic
#40360D #0D401C #0D1740 #400D31
square
#40360D #0D401C #0D1740 #400D31
split-complementary
#40360D #0D3140 #1C0D40
monochromatic
#191505 #191505 #40360D #736117 #A68C22

Accessibility & contrast

On white

11.99
#40360D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#40360D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40360D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40360D#FFFFFF#000000##FFFFFF
##40360D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3507
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#46312E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #40360d;
/* rgb */ color: rgb(64, 54, 13);
/* oklch */ color: oklch(33.5% 0.059 95.1);
Tailwind
colors: {
  custom: {
    50: '#776c4e',
    500: '#40360d',
    950: '#000000',
  },
}
SCSS
$custom: #40360d;
$custom-light: #776c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40360d",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 13
  },
  "hsl": {
    "h": 48.235,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.05884,
    "h": 95.1
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#40360D
secondary
#2D3D7C
accent
#60E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #40360D

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

Preview Lab → · Contrast checker → · Palette generator →

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