#40451C#40451C

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

Color values

HEX#40451C
RGBrgb(64, 69, 28)
HSLhsl(67, 42%, 19%)
HSVhsv(67, 59%, 27%)
CMYKcmyk(7.2%, 0%, 59.4%, 72.9%)
CIE-LABlab(27.93, -9.10, 23.75)
CIE-LCHlch(27.93, 25.44, 110.97°)
OKLaboklab(37.55% -0.0262 0.0558)
OKLCHoklch(37.55% 0.062 115.2)
XYZxyz(4.4521, 5.4301, 1.9120)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40451C #211C45
analogous
#45361C #40451C #2C451C
triadic
#40451C #1C4045 #451C40
tetradic
#40451C #1C4536 #211C45 #451C2C
square
#40451C #1C4536 #211C45 #451C2C
split-complementary
#40451C #1C2C45 #361C45
monochromatic
#141609 #18190A #40451C #68712E #919C3F

Accessibility & contrast

On white

10.07
#40451C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40451C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40451C#FFFFFF#000000##FFFFFF
##40451C1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40451c;
/* rgb */ color: rgb(64, 69, 28);
/* oklch */ color: oklch(37.6% 0.062 115.2);
Tailwind
colors: {
  custom: {
    50: '#767859',
    500: '#40451c',
    950: '#000000',
  },
}
SCSS
$custom: #40451c;
$custom-light: #767859;
$custom-dark: #000000;
JSON
{
  "hex": "#40451c",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 67.317,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.06163,
    "h": 115.2
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#40451C
secondary
#49427A
accent
#56D265
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #40451C

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

Preview Lab → · Contrast checker → · Palette generator →

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