#40461D#40461D

#40461D is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.8% C 0.062 H 116.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#40461D
RGBrgb(64, 70, 29)
HSLhsl(69, 41%, 19%)
HSVhsv(69, 59%, 27%)
CMYKcmyk(8.6%, 0%, 58.6%, 72.5%)
CIE-LABlab(28.27, -9.59, 23.59)
CIE-LCHlch(28.27, 25.47, 112.13°)
OKLaboklab(37.83% -0.0275 0.0555)
OKLCHoklch(37.83% 0.062 116.4)
XYZxyz(4.5263, 5.5591, 1.9967)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40461D #231D46
analogous
#46381D #40461D #2C461D
triadic
#40461D #1D4046 #461D40
tetradic
#40461D #1D4638 #231D46 #461D2C
square
#40461D #1D4638 #231D46 #461D2C
split-complementary
#40461D #1D2C46 #381D46
monochromatic
#141609 #181B0B #40461D #68712F #8F9D41

Accessibility & contrast

On white

9.94
#40461D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#40461D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40461D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40461D#FFFFFF#000000##FFFFFF
##40461D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4219
Deuteranopia (green-blind)
#4A431F
Tritanopia (blue-blind)
#44423D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #40461d;
/* rgb */ color: rgb(64, 70, 29);
/* oklch */ color: oklch(37.8% 0.062 116.4);
Tailwind
colors: {
  custom: {
    50: '#76795a',
    500: '#40461d',
    950: '#000000',
  },
}
SCSS
$custom: #40461d;
$custom-light: #76795a;
$custom-dark: #000000;
JSON
{
  "hex": "#40461d",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 29
  },
  "hsl": {
    "h": 68.78,
    "s": 41.414,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.06198,
    "h": 116.4
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#40461D
secondary
#4C447B
accent
#57D169
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080904
muted
#7B7B79

Preview Lab

Preview with #40461D

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

Preview Lab → · Contrast checker → · Palette generator →

#40461D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva