#40422C#40422C

#40422C is a dark, muted yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.036 H 112.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#40422C
RGBrgb(64, 66, 44)
HSLhsl(65, 20%, 22%)
HSVhsv(65, 33%, 26%)
CMYKcmyk(3%, 0%, 33.3%, 74.1%)
CIE-LABlab(27.21, -5.13, 13.15)
CIE-LCHlch(27.21, 14.12, 111.32°)
OKLaboklab(37.07% -0.0135 0.0329)
OKLCHoklch(37.07% 0.036 112.4)
XYZxyz(4.5172, 5.1683, 3.1420)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40422C #2E2C42
analogous
#42392C #40422C #35422C
triadic
#40422C #2C4042 #422C40
tetradic
#40422C #2C4239 #2E2C42 #422C35
square
#40422C #2C4239 #2E2C42 #422C35
split-complementary
#40422C #2C3542 #392C42
monochromatic
#12120C #1C1D14 #40422C #646744 #878B5D

Accessibility & contrast

On white

10.33
#40422C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#40422C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40422C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40422C#FFFFFF#000000##FFFFFF
##40422C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402B
Deuteranopia (green-blind)
#45412D
Tritanopia (blue-blind)
#433F3C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #40422c;
/* rgb */ color: rgb(64, 66, 44);
/* oklch */ color: oklch(37.1% 0.036 112.4);
Tailwind
colors: {
  custom: {
    50: '#757665',
    500: '#40422c',
    950: '#000000',
  },
}
SCSS
$custom: #40422c;
$custom-light: #757665;
$custom-dark: #000000;
JSON
{
  "hex": "#40422c",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 44
  },
  "hsl": {
    "h": 65.455,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.37067,
    "c": 0.03556,
    "h": 112.4
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#40422C
secondary
#595773
accent
#6BBD73
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #40422C

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

Preview Lab → · Contrast checker → · Palette generator →

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