#40360A#40360A

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

Color values

HEX#40360A
RGBrgb(64, 54, 10)
HSLhsl(49, 73%, 15%)
HSVhsv(49, 84%, 25%)
CMYKcmyk(0%, 15.6%, 84.4%, 74.9%)
CIE-LABlab(22.83, -1.20, 27.53)
CIE-LCHlch(22.83, 27.55, 92.50°)
OKLaboklab(33.43% -0.0062 0.0609)
OKLCHoklch(33.43% 0.061 95.8)
XYZxyz(3.4885, 3.7504, 0.8273)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40360A #0A1440
analogous
#401B0A #40360A #2F400A
triadic
#40360A #0A4036 #360A40
tetradic
#40360A #0A401B #0A1440 #400A2F
square
#40360A #0A401B #0A1440 #400A2F
split-complementary
#40360A #0A2F40 #1B0A40
monochromatic
#1A1604 #1A1604 #40360A #756312 #AA8F1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40360A#FFFFFF#000000##FFFFFF
##40360A1.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)
#3D3504
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#46312D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40360a;
/* rgb */ color: rgb(64, 54, 10);
/* oklch */ color: oklch(33.4% 0.061 95.8);
Tailwind
colors: {
  custom: {
    50: '#776c4d',
    500: '#40360a',
    950: '#000000',
  },
}
SCSS
$custom: #40360a;
$custom-light: #776c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40360a",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 10
  },
  "hsl": {
    "h": 48.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33434,
    "c": 0.06119,
    "h": 95.8
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#40360A
secondary
#29387D
accent
#5AF038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #40360A

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

Preview Lab → · Contrast checker → · Palette generator →

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