#40440F#40440F

#40440F is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.1% C 0.073 H 113.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#40440F
RGBrgb(64, 68, 15)
HSLhsl(65, 64%, 16%)
HSVhsv(65, 78%, 27%)
CMYKcmyk(5.9%, 0%, 77.9%, 73.3%)
CIE-LABlab(27.46, -9.61, 29.91)
CIE-LCHlch(27.46, 31.41, 107.81°)
OKLaboklab(37.14% -0.0293 0.0668)
OKLCHoklch(37.14% 0.073 113.7)
XYZxyz(4.2678, 5.2588, 1.2421)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40440F #130F44
analogous
#442E0F #40440F #26440F
triadic
#40440F #0F4044 #440F40
tetradic
#40440F #0F442E #130F44 #440F26
square
#40440F #0F442E #130F44 #440F26
split-complementary
#40440F #0F2644 #2E0F44
monochromatic
#181906 #181906 #40440F #6F761A #9EA825

Accessibility & contrast

On white

10.23
#40440F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40440F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40440F#FFFFFF#000000##FFFFFF
##40440F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4007
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#45403A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #40440f;
/* rgb */ color: rgb(64, 68, 15);
/* oklch */ color: oklch(37.1% 0.073 113.7);
Tailwind
colors: {
  custom: {
    50: '#777751',
    500: '#40440f',
    950: '#000000',
  },
}
SCSS
$custom: #40440f;
$custom-light: #777751;
$custom-dark: #000000;
JSON
{
  "hex": "#40440f",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 15
  },
  "hsl": {
    "h": 64.528,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37135,
    "c": 0.0729,
    "h": 113.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#40440F
secondary
#36307E
accent
#41E74D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40440F

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

Preview Lab → · Contrast checker → · Palette generator →

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