#404828#404828

#404828 is a dark, muted yellow-green. Relative luminance 0.059; OKLCH L 38.6% C 0.051 H 120.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#404828
RGBrgb(64, 72, 40)
HSLhsl(75, 29%, 22%)
HSVhsv(75, 44%, 28%)
CMYKcmyk(11.1%, 0%, 44.4%, 71.8%)
CIE-LABlab(29.10, -9.40, 18.12)
CIE-LCHlch(29.10, 20.41, 117.43°)
OKLaboklab(38.55% -0.0259 0.0443)
OKLCHoklch(38.55% 0.051 120.3)
XYZxyz(4.8147, 5.8779, 2.8880)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404828 #302848
analogous
#484028 #404828 #304828
triadic
#404828 #284048 #482840
tetradic
#404828 #284840 #302848 #482830
square
#404828 #284840 #302848 #482830
split-complementary
#404828 #283048 #402848
monochromatic
#11140B #1D2112 #404828 #636F3E #869754

Accessibility & contrast

On white

9.65
#404828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#404828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404828
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404828#FFFFFF#000000##FFFFFF
##4048281.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4526
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#434540
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404828;
/* rgb */ color: rgb(64, 72, 40);
/* oklch */ color: oklch(38.6% 0.051 120.3);
Tailwind
colors: {
  custom: {
    50: '#757b62',
    500: '#404828',
    950: '#000000',
  },
}
SCSS
$custom: #404828;
$custom-light: #757b62;
$custom-dark: #000000;
JSON
{
  "hex": "#404828",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 75,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.05128,
    "h": 120.3
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#404828
secondary
#5C527A
accent
#63C57B
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080905
muted
#7B7B79

Preview Lab

Preview with #404828

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

Preview Lab → · Contrast checker → · Palette generator →

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