#40451E#40451E

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

Color values

HEX#40451E
RGBrgb(64, 69, 30)
HSLhsl(68, 39%, 19%)
HSVhsv(68, 57%, 27%)
CMYKcmyk(7.2%, 0%, 56.5%, 72.9%)
CIE-LABlab(27.95, -8.88, 22.64)
CIE-LCHlch(27.95, 24.32, 111.42°)
OKLaboklab(37.58% -0.0254 0.0536)
OKLCHoklch(37.58% 0.059 115.4)
XYZxyz(4.4769, 5.4400, 2.0422)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40451E #231E45
analogous
#45371E #40451E #2D451E
triadic
#40451E #1E4045 #451E40
tetradic
#40451E #1E4537 #231E45 #451E2D
square
#40451E #1E4537 #231E45 #451E2D
split-complementary
#40451E #1E2D45 #371E45
monochromatic
#141509 #181A0B #40451E #687031 #8F9A43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40451E#FFFFFF#000000##FFFFFF
##40451E1.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)
#4A421A
Deuteranopia (green-blind)
#494220
Tritanopia (blue-blind)
#44413C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #40451e;
/* rgb */ color: rgb(64, 69, 30);
/* oklch */ color: oklch(37.6% 0.059 115.4);
Tailwind
colors: {
  custom: {
    50: '#76785b',
    500: '#40451e',
    950: '#000000',
  },
}
SCSS
$custom: #40451e;
$custom-light: #76785b;
$custom-dark: #000000;
JSON
{
  "hex": "#40451e",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 67.692,
    "s": 39.394,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.05929,
    "h": 115.4
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#40451E
secondary
#4C457A
accent
#59CF68
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080904
muted
#7B7B79

Preview Lab

Preview with #40451E

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

Preview Lab → · Contrast checker → · Palette generator →

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