#40410C#40410C

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

Color values

HEX#40410C
RGBrgb(64, 65, 12)
HSLhsl(61, 69%, 15%)
HSVhsv(61, 82%, 25%)
CMYKcmyk(1.5%, 0%, 81.5%, 74.5%)
CIE-LABlab(26.44, -7.99, 30.22)
CIE-LCHlch(26.44, 31.26, 104.80°)
OKLaboklab(36.31% -0.0251 0.0668)
OKLCHoklch(36.31% 0.071 110.6)
XYZxyz(4.0712, 4.8972, 1.0786)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40410C #0D0C41
analogous
#41270C #40410C #25410C
triadic
#40410C #0C4041 #410C40
tetradic
#40410C #0C4127 #0D0C41 #410C25
square
#40410C #0C4127 #0D0C41 #410C25
split-complementary
#40410C #0C2541 #270C41
monochromatic
#191A05 #191A05 #40410C #737516 #A6A81F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40410C#FFFFFF#000000##FFFFFF
##40410C1.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)
#473E04
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#453C37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #40410c;
/* rgb */ color: rgb(64, 65, 12);
/* oklch */ color: oklch(36.3% 0.071 110.6);
Tailwind
colors: {
  custom: {
    50: '#77754f',
    500: '#40410c',
    950: '#000000',
  },
}
SCSS
$custom: #40410c;
$custom-light: #77754f;
$custom-dark: #000000;
JSON
{
  "hex": "#40410c",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 12
  },
  "hsl": {
    "h": 61.132,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36312,
    "c": 0.07136,
    "h": 110.6
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#40410C
secondary
#2D2C7D
accent
#3CEC3F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #40410C

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

Preview Lab → · Contrast checker → · Palette generator →

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