#40410D#40410D

#40410D is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.3% C 0.071 H 110.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#40410D
RGBrgb(64, 65, 13)
HSLhsl(61, 67%, 15%)
HSVhsv(61, 80%, 25%)
CMYKcmyk(1.5%, 0%, 80%, 74.5%)
CIE-LABlab(26.45, -7.93, 29.80)
CIE-LCHlch(26.45, 30.83, 104.90°)
OKLaboklab(36.32% -0.0248 0.0661)
OKLCHoklch(36.32% 0.071 110.5)
XYZxyz(4.0774, 4.8998, 1.1117)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40410D #0E0D41
analogous
#41280D #40410D #26410D
triadic
#40410D #0D4041 #410D40
tetradic
#40410D #0D4128 #0E0D41 #410D26
square
#40410D #0D4128 #0E0D41 #410D26
split-complementary
#40410D #0D2641 #280D41
monochromatic
#191A05 #191A05 #40410D #727417 #A4A721

Accessibility & contrast

On white

10.61
#40410D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#40410D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40410D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40410D#FFFFFF#000000##FFFFFF
##40410D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E05
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#453C37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #40410d;
/* rgb */ color: rgb(64, 65, 13);
/* oklch */ color: oklch(36.3% 0.071 110.5);
Tailwind
colors: {
  custom: {
    50: '#777550',
    500: '#40410d',
    950: '#000000',
  },
}
SCSS
$custom: #40410d;
$custom-light: #777550;
$custom-dark: #000000;
JSON
{
  "hex": "#40410d",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 13
  },
  "hsl": {
    "h": 61.154,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.07062,
    "h": 110.5
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#40410D
secondary
#2F2D7D
accent
#3EEA42
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40410D

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

Preview Lab → · Contrast checker → · Palette generator →

#40410D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva