#40360F#40360F

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

Color values

HEX#40360F
RGBrgb(64, 54, 15)
HSLhsl(48, 62%, 15%)
HSVhsv(48, 77%, 25%)
CMYKcmyk(0%, 15.6%, 76.6%, 74.9%)
CIE-LABlab(22.87, -0.89, 25.24)
CIE-LCHlch(22.87, 25.25, 92.02°)
OKLaboklab(33.48% -0.0046 0.0569)
OKLCHoklch(33.48% 0.057 94.6)
XYZxyz(3.5199, 3.7630, 0.9928)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40360F #0F1940
analogous
#401D0F #40360F #31400F
triadic
#40360F #0F4036 #360F40
tetradic
#40360F #0F401D #0F1940 #400F31
square
#40360F #0F401D #0F1940 #400F31
split-complementary
#40360F #0F3140 #1D0F40
monochromatic
#191506 #191506 #40360F #72601B #A38A26

Accessibility & contrast

On white

11.98
#40360F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40360F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40360F#FFFFFF#000000##FFFFFF
##40360F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40360f;
/* rgb */ color: rgb(64, 54, 15);
/* oklch */ color: oklch(33.5% 0.057 94.6);
Tailwind
colors: {
  custom: {
    50: '#776c4f',
    500: '#40360f',
    950: '#000000',
  },
}
SCSS
$custom: #40360f;
$custom-light: #776c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#40360f",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 15
  },
  "hsl": {
    "h": 47.755,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33483,
    "c": 0.05711,
    "h": 94.6
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#40360F
secondary
#303F7A
accent
#64E543
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #40360F

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

Preview Lab → · Contrast checker → · Palette generator →

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