#40410F#40410F

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

Color values

HEX#40410F
RGBrgb(64, 65, 15)
HSLhsl(61, 63%, 16%)
HSVhsv(61, 77%, 25%)
CMYKcmyk(1.5%, 0%, 76.9%, 74.5%)
CIE-LABlab(26.46, -7.80, 28.91)
CIE-LCHlch(26.46, 29.95, 105.10°)
OKLaboklab(36.34% -0.0242 0.0647)
OKLCHoklch(36.34% 0.069 110.5)
XYZxyz(4.0910, 4.9052, 1.1831)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40410F #100F41
analogous
#41290F #40410F #27410F
triadic
#40410F #0F4041 #410F40
tetradic
#40410F #0F4129 #100F41 #410F27
square
#40410F #0F4129 #100F41 #410F27
split-complementary
#40410F #0F2741 #290F41
monochromatic
#181906 #181906 #40410F #71731A #A2A426

Accessibility & contrast

On white

10.60
#40410F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40410F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40410F#FFFFFF#000000##FFFFFF
##40410F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40410f;
/* rgb */ color: rgb(64, 65, 15);
/* oklch */ color: oklch(36.3% 0.069 110.5);
Tailwind
colors: {
  custom: {
    50: '#777551',
    500: '#40410f',
    950: '#000000',
  },
}
SCSS
$custom: #40410f;
$custom-light: #777551;
$custom-dark: #000000;
JSON
{
  "hex": "#40410f",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 15
  },
  "hsl": {
    "h": 61.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36338,
    "c": 0.06906,
    "h": 110.5
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#40410F
secondary
#32307B
accent
#42E646
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40410F

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

Preview Lab → · Contrast checker → · Palette generator →

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