#40440A#40440A

#40440A 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#40440A
RGBrgb(64, 68, 10)
HSLhsl(64, 74%, 15%)
HSVhsv(64, 85%, 27%)
CMYKcmyk(5.9%, 0%, 85.3%, 73.3%)
CIE-LABlab(27.43, -9.90, 31.94)
CIE-LCHlch(27.43, 33.44, 107.22°)
OKLaboklab(37.1% -0.0306 0.07)
OKLCHoklch(37.1% 0.076 113.6)
XYZxyz(4.2364, 5.2462, 1.0766)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40440A #0E0A44
analogous
#442B0A #40440A #23440A
triadic
#40440A #0A4044 #440A40
tetradic
#40440A #0A442B #0E0A44 #440A23
square
#40440A #0A442B #0E0A44 #440A23
split-complementary
#40440A #0A2344 #2B0A44
monochromatic
#191B04 #191B04 #40440A #727912 #A4AF1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40440A#FFFFFF#000000##FFFFFF
##40440A1.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)
#4A4001
Deuteranopia (green-blind)
#4A410F
Tritanopia (blue-blind)
#453F39
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #40440a;
/* rgb */ color: rgb(64, 68, 10);
/* oklch */ color: oklch(37.1% 0.076 113.6);
Tailwind
colors: {
  custom: {
    50: '#77774f',
    500: '#40440a',
    950: '#000000',
  },
}
SCSS
$custom: #40440a;
$custom-light: #77774f;
$custom-dark: #000000;
JSON
{
  "hex": "#40440a",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 10
  },
  "hsl": {
    "h": 64.138,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.37096,
    "c": 0.07643,
    "h": 113.6
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#40440A
secondary
#2F2981
accent
#37F144
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40440A

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

Preview Lab → · Contrast checker → · Palette generator →

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