#40410E#40410E

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

Color values

HEX#40410E
RGBrgb(64, 65, 14)
HSLhsl(61, 65%, 15%)
HSVhsv(61, 78%, 25%)
CMYKcmyk(1.5%, 0%, 78.5%, 74.5%)
CIE-LABlab(26.45, -7.87, 29.36)
CIE-LCHlch(26.45, 30.40, 105.00°)
OKLaboklab(36.33% -0.0245 0.0654)
OKLCHoklch(36.33% 0.07 110.5)
XYZxyz(4.0841, 4.9024, 1.1465)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40410E #0F0E41
analogous
#41280E #40410E #26410E
triadic
#40410E #0E4041 #410E40
tetradic
#40410E #0E4128 #0F0E41 #410E26
square
#40410E #0E4128 #0F0E41 #410E26
split-complementary
#40410E #0E2641 #280E41
monochromatic
#191905 #191905 #40410E #727319 #A3A624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40410E#FFFFFF#000000##FFFFFF
##40410E1.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)
#473E06
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#453C37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #40410e;
/* rgb */ color: rgb(64, 65, 14);
/* oklch */ color: oklch(36.3% 0.070 110.5);
Tailwind
colors: {
  custom: {
    50: '#777550',
    500: '#40410e',
    950: '#000000',
  },
}
SCSS
$custom: #40410e;
$custom-light: #777550;
$custom-dark: #000000;
JSON
{
  "hex": "#40410e",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 14
  },
  "hsl": {
    "h": 61.176,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.06986,
    "h": 110.5
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#40410E
secondary
#302F7C
accent
#40E844
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40410E

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

Preview Lab → · Contrast checker → · Palette generator →

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