#40440B#40440B

#40440B is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.076 H 113.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#40440B
RGBrgb(64, 68, 11)
HSLhsl(64, 72%, 15%)
HSVhsv(64, 84%, 27%)
CMYKcmyk(5.9%, 0%, 83.8%, 73.3%)
CIE-LABlab(27.43, -9.85, 31.57)
CIE-LCHlch(27.43, 33.07, 107.33°)
OKLaboklab(37.1% -0.0303 0.0695)
OKLCHoklch(37.1% 0.076 113.6)
XYZxyz(4.2420, 5.2485, 1.1061)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40440B #0F0B44
analogous
#442B0B #40440B #23440B
triadic
#40440B #0B4044 #440B40
tetradic
#40440B #0B442B #0F0B44 #440B23
square
#40440B #0B442B #0F0B44 #440B23
split-complementary
#40440B #0B2344 #2B0B44
monochromatic
#191A04 #191A04 #40440B #727914 #A3AD1C

Accessibility & contrast

On white

10.25
#40440B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#40440B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40440B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40440B#FFFFFF#000000##FFFFFF
##40440B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4002
Deuteranopia (green-blind)
#4A4110
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #40440b;
/* rgb */ color: rgb(64, 68, 11);
/* oklch */ color: oklch(37.1% 0.076 113.6);
Tailwind
colors: {
  custom: {
    50: '#77774f',
    500: '#40440b',
    950: '#000000',
  },
}
SCSS
$custom: #40440b;
$custom-light: #77774f;
$custom-dark: #000000;
JSON
{
  "hex": "#40440b",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 11
  },
  "hsl": {
    "h": 64.211,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.07579,
    "h": 113.6
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#40440B
secondary
#302A81
accent
#39EF46
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40440B

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

Preview Lab → · Contrast checker → · Palette generator →

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