#40350A#40350A

#40350A is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.2% C 0.060 H 94.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#40350A
RGBrgb(64, 53, 10)
HSLhsl(48, 73%, 15%)
HSVhsv(48, 84%, 25%)
CMYKcmyk(0%, 17.2%, 84.4%, 74.9%)
CIE-LABlab(22.51, -0.55, 27.19)
CIE-LCHlch(22.51, 27.20, 91.17°)
OKLaboklab(33.18% -0.0043 0.0602)
OKLCHoklch(33.18% 0.06 94.1)
XYZxyz(3.4424, 3.6583, 0.8119)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40350A #0A1540
analogous
#401A0A #40350A #30400A
triadic
#40350A #0A4035 #350A40
tetradic
#40350A #0A401A #0A1540 #400A30
square
#40350A #0A401A #0A1540 #400A30
split-complementary
#40350A #0A3040 #1A0A40
monochromatic
#1A1604 #1A1604 #40350A #756112 #AA8D1B

Accessibility & contrast

On white

12.13
#40350A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#40350A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40350A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40350A#FFFFFF#000000##FFFFFF
##40350A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3404
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#46302D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40350a;
/* rgb */ color: rgb(64, 53, 10);
/* oklch */ color: oklch(33.2% 0.060 94.1);
Tailwind
colors: {
  custom: {
    50: '#776b4d',
    500: '#40350a',
    950: '#000000',
  },
}
SCSS
$custom: #40350a;
$custom-light: #776b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40350a",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 10
  },
  "hsl": {
    "h": 47.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.06038,
    "h": 94.1
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#40350A
secondary
#293A7D
accent
#5EF038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #40350A

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

Preview Lab → · Contrast checker → · Palette generator →

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