#40410B#40410B

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

Color values

HEX#40410B
RGBrgb(64, 65, 11)
HSLhsl(61, 71%, 15%)
HSVhsv(61, 83%, 25%)
CMYKcmyk(1.5%, 0%, 83.1%, 74.5%)
CIE-LABlab(26.43, -8.04, 30.63)
CIE-LCHlch(26.43, 31.67, 104.72°)
OKLaboklab(36.3% -0.0253 0.0675)
OKLCHoklch(36.3% 0.072 110.6)
XYZxyz(4.0652, 4.8949, 1.0472)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40410B #0C0B41
analogous
#41270B #40410B #25410B
triadic
#40410B #0B4041 #410B40
tetradic
#40410B #0B4127 #0C0B41 #410B25
square
#40410B #0B4127 #0C0B41 #410B25
split-complementary
#40410B #0B2541 #270B41
monochromatic
#1A1A04 #1A1A04 #40410B #747514 #A7AA1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40410B#FFFFFF#000000##FFFFFF
##40410B1.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)
#473E03
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#453C37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #40410b;
/* rgb */ color: rgb(64, 65, 11);
/* oklch */ color: oklch(36.3% 0.072 110.6);
Tailwind
colors: {
  custom: {
    50: '#77754f',
    500: '#40410b',
    950: '#000000',
  },
}
SCSS
$custom: #40410b;
$custom-light: #77754f;
$custom-dark: #000000;
JSON
{
  "hex": "#40410b",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 11
  },
  "hsl": {
    "h": 61.111,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36304,
    "c": 0.07206,
    "h": 110.6
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#40410B
secondary
#2C2A7E
accent
#3AEE3D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40410B

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

Preview Lab → · Contrast checker → · Palette generator →

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