#404836#404836

#404836 is a dark, muted yellow-green. Relative luminance 0.060; OKLCH L 38.9% C 0.031 H 127.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#404836
RGBrgb(64, 72, 54)
HSLhsl(87, 14%, 25%)
HSVhsv(87, 25%, 28%)
CMYKcmyk(11.1%, 0%, 25%, 71.8%)
CIE-LABlab(29.39, -7.09, 9.75)
CIE-LCHlch(29.39, 12.05, 126.03°)
OKLaboklab(38.88% -0.0189 0.0248)
OKLCHoklch(38.88% 0.031 127.3)
XYZxyz(5.0975, 5.9910, 4.3771)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404836 #3E3648
analogous
#484736 #404836 #374836
triadic
#404836 #364048 #483640
tetradic
#404836 #364847 #3E3648 #483637
square
#404836 #364847 #3E3648 #483637
split-complementary
#404836 #363748 #473648
monochromatic
#10110D #21251C #404836 #5F6B50 #7E8E6A

Accessibility & contrast

On white

9.55
#404836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#404836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404836
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404836#FFFFFF#000000##FFFFFF
##4048361.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4635
Deuteranopia (green-blind)
#494537
Tritanopia (blue-blind)
#414643
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404836;
/* rgb */ color: rgb(64, 72, 54);
/* oklch */ color: oklch(38.9% 0.031 127.3);
Tailwind
colors: {
  custom: {
    50: '#757b6d',
    500: '#404836',
    950: '#000000',
  },
}
SCSS
$custom: #404836;
$custom-light: #757b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#404836",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 54
  },
  "hsl": {
    "h": 86.667,
    "s": 14.286,
    "l": 24.706
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.03122,
    "h": 127.3
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#404836
secondary
#6C6278
accent
#71B790
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080907
muted
#7B7B7A

Preview Lab

Preview with #404836

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

Preview Lab → · Contrast checker → · Palette generator →

#404836 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva