#40360B#40360B

#40360B is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.4% C 0.060 H 95.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#40360B
RGBrgb(64, 54, 11)
HSLhsl(49, 71%, 15%)
HSVhsv(49, 83%, 25%)
CMYKcmyk(0%, 15.6%, 82.8%, 74.9%)
CIE-LABlab(22.84, -1.15, 27.12)
CIE-LCHlch(22.84, 27.14, 92.42°)
OKLaboklab(33.44% -0.0059 0.0602)
OKLCHoklch(33.44% 0.06 95.6)
XYZxyz(3.4941, 3.7527, 0.8568)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40360B #0B1540
analogous
#401B0B #40360B #30400B
triadic
#40360B #0B4036 #360B40
tetradic
#40360B #0B401B #0B1540 #400B30
square
#40360B #0B401B #0B1540 #400B30
split-complementary
#40360B #0B3040 #1B0B40
monochromatic
#1A1604 #1A1604 #40360B #746214 #A88E1D

Accessibility & contrast

On white

12.00
#40360B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40360B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40360B#FFFFFF#000000##FFFFFF
##40360B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3505
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#46312D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40360b;
/* rgb */ color: rgb(64, 54, 11);
/* oklch */ color: oklch(33.4% 0.060 95.6);
Tailwind
colors: {
  custom: {
    50: '#776c4d',
    500: '#40360b',
    950: '#000000',
  },
}
SCSS
$custom: #40360b;
$custom-light: #776c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40360b",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 11
  },
  "hsl": {
    "h": 48.679,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33443,
    "c": 0.06044,
    "h": 95.6
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#40360B
secondary
#2A3A7D
accent
#5CED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #40360B

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

Preview Lab → · Contrast checker → · Palette generator →

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