#40451A#40451A

#40451A is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.5% C 0.064 H 115.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#40451A
RGBrgb(64, 69, 26)
HSLhsl(67, 45%, 19%)
HSVhsv(67, 62%, 27%)
CMYKcmyk(7.2%, 0%, 62.3%, 72.9%)
CIE-LABlab(27.90, -9.31, 24.84)
CIE-LCHlch(27.90, 26.52, 110.54°)
OKLaboklab(37.52% -0.0271 0.0579)
OKLCHoklch(37.52% 0.064 115.1)
XYZxyz(4.4290, 5.4209, 1.7901)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40451A #1F1A45
analogous
#45341A #40451A #2A451A
triadic
#40451A #1A4045 #451A40
tetradic
#40451A #1A4534 #1F1A45 #451A2A
square
#40451A #1A4534 #1F1A45 #451A2A
split-complementary
#40451A #1A2A45 #341A45
monochromatic
#151608 #171909 #40451A #69712B #929E3B

Accessibility & contrast

On white

10.08
#40451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#40451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40451A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40451A#FFFFFF#000000##FFFFFF
##40451A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4216
Deuteranopia (green-blind)
#4A421D
Tritanopia (blue-blind)
#44413C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #40451a;
/* rgb */ color: rgb(64, 69, 26);
/* oklch */ color: oklch(37.5% 0.064 115.1);
Tailwind
colors: {
  custom: {
    50: '#767858',
    500: '#40451a',
    950: '#000000',
  },
}
SCSS
$custom: #40451a;
$custom-light: #767858;
$custom-dark: #000000;
JSON
{
  "hex": "#40451a",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 66.977,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37524,
    "c": 0.06388,
    "h": 115.1
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#40451A
secondary
#47407B
accent
#53D562
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #40451A

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

Preview Lab → · Contrast checker → · Palette generator →

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