#40410A#40410A

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

Color values

HEX#40410A
RGBrgb(64, 65, 10)
HSLhsl(61, 73%, 15%)
HSVhsv(61, 85%, 25%)
CMYKcmyk(1.5%, 0%, 84.6%, 74.5%)
CIE-LABlab(26.43, -8.10, 31.02)
CIE-LCHlch(26.43, 32.06, 104.63°)
OKLaboklab(36.3% -0.0256 0.0681)
OKLCHoklch(36.3% 0.073 110.6)
XYZxyz(4.0596, 4.8926, 1.0176)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40410A #0B0A41
analogous
#41270A #40410A #25410A
triadic
#40410A #0A4041 #410A40
tetradic
#40410A #0A4127 #0B0A41 #410A25
square
#40410A #0A4127 #0B0A41 #410A25
split-complementary
#40410A #0A2541 #270A41
monochromatic
#1A1B04 #1A1B04 #40410A #747612 #A8AB1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40410A#FFFFFF#000000##FFFFFF
##40410A1.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)
#473E01
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#453C37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #40410a;
/* rgb */ color: rgb(64, 65, 10);
/* oklch */ color: oklch(36.3% 0.073 110.6);
Tailwind
colors: {
  custom: {
    50: '#77754e',
    500: '#40410a',
    950: '#000000',
  },
}
SCSS
$custom: #40410a;
$custom-light: #77754e;
$custom-dark: #000000;
JSON
{
  "hex": "#40410a",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 10
  },
  "hsl": {
    "h": 61.091,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.07273,
    "h": 110.6
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#40410A
secondary
#2A297E
accent
#38F03B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40410A

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

Preview Lab → · Contrast checker → · Palette generator →

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