#40360C#40360C

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

Color values

HEX#40360C
RGBrgb(64, 54, 12)
HSLhsl(48, 68%, 15%)
HSVhsv(48, 81%, 25%)
CMYKcmyk(0%, 15.6%, 81.2%, 74.9%)
CIE-LABlab(22.84, -1.09, 26.68)
CIE-LCHlch(22.84, 26.71, 92.33°)
OKLaboklab(33.45% -0.0056 0.0594)
OKLCHoklch(33.45% 0.06 95.4)
XYZxyz(3.5001, 3.7551, 0.8882)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40360C #0C1640
analogous
#401C0C #40360C #30400C
triadic
#40360C #0C4036 #360C40
tetradic
#40360C #0C401C #0C1640 #400C30
square
#40360C #0C401C #0C1640 #400C30
split-complementary
#40360C #0C3040 #1C0C40
monochromatic
#1A1605 #1A1605 #40360C #746116 #A78D1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40360C#FFFFFF#000000##FFFFFF
##40360C1.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)
#3C3506
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#46312E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #40360c;
/* rgb */ color: rgb(64, 54, 12);
/* oklch */ color: oklch(33.5% 0.060 95.4);
Tailwind
colors: {
  custom: {
    50: '#776c4e',
    500: '#40360c',
    950: '#000000',
  },
}
SCSS
$custom: #40360c;
$custom-light: #776c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40360c",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 12
  },
  "hsl": {
    "h": 48.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33452,
    "c": 0.05966,
    "h": 95.4
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#40360C
secondary
#2C3B7C
accent
#5EEB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #40360C

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

Preview Lab → · Contrast checker → · Palette generator →

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