#40451D#40451D

#40451D is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.6% C 0.060 H 115.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#40451D
RGBrgb(64, 69, 29)
HSLhsl(68, 41%, 19%)
HSVhsv(68, 58%, 27%)
CMYKcmyk(7.2%, 0%, 58%, 72.9%)
CIE-LABlab(27.94, -8.99, 23.20)
CIE-LCHlch(27.94, 24.88, 111.19°)
OKLaboklab(37.57% -0.0258 0.0547)
OKLCHoklch(37.57% 0.06 115.3)
XYZxyz(4.4643, 5.4350, 1.9760)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40451D #221D45
analogous
#45361D #40451D #2C451D
triadic
#40451D #1D4045 #451D40
tetradic
#40451D #1D4536 #221D45 #451D2C
square
#40451D #1D4536 #221D45 #451D2C
split-complementary
#40451D #1D2C45 #361D45
monochromatic
#141609 #181A0B #40451D #68702F #909B41

Accessibility & contrast

On white

10.06
#40451D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#40451D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40451D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40451D#FFFFFF#000000##FFFFFF
##40451D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4219
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#44413C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #40451d;
/* rgb */ color: rgb(64, 69, 29);
/* oklch */ color: oklch(37.6% 0.060 115.3);
Tailwind
colors: {
  custom: {
    50: '#76785a',
    500: '#40451d',
    950: '#000000',
  },
}
SCSS
$custom: #40451d;
$custom-light: #76785a;
$custom-dark: #000000;
JSON
{
  "hex": "#40451d",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 29
  },
  "hsl": {
    "h": 67.5,
    "s": 40.816,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.06048,
    "h": 115.3
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#40451D
secondary
#4B447A
accent
#57D166
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080904
muted
#7B7B79

Preview Lab

Preview with #40451D

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

Preview Lab → · Contrast checker → · Palette generator →

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