#404628#404628

#404628 is a dark, muted yellow-green. Relative luminance 0.056; OKLCH L 38.0% C 0.048 H 118.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#404628
RGBrgb(64, 70, 40)
HSLhsl(72, 27%, 22%)
HSVhsv(72, 43%, 27%)
CMYKcmyk(8.6%, 0%, 42.9%, 72.5%)
CIE-LABlab(28.44, -8.20, 17.27)
CIE-LCHlch(28.44, 19.12, 115.40°)
OKLaboklab(38.02% -0.0225 0.0423)
OKLCHoklch(38.02% 0.048 118)
XYZxyz(4.6875, 5.6235, 2.8456)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404628 #2E2846
analogous
#463D28 #404628 #314628
triadic
#404628 #284046 #462840
tetradic
#404628 #28463D #2E2846 #462831
square
#404628 #28463D #2E2846 #462831
split-complementary
#404628 #283146 #3D2846
monochromatic
#12130B #1C1F12 #404628 #646D3E #879455

Accessibility & contrast

On white

9.88
#404628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#404628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404628
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404628#FFFFFF#000000##FFFFFF
##4046281.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#494329
Tritanopia (blue-blind)
#43433F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404628;
/* rgb */ color: rgb(64, 70, 40);
/* oklch */ color: oklch(38.0% 0.048 118.0);
Tailwind
colors: {
  custom: {
    50: '#757962',
    500: '#404628',
    950: '#000000',
  },
}
SCSS
$custom: #404628;
$custom-light: #757962;
$custom-dark: #000000;
JSON
{
  "hex": "#404628",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 27.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.04794,
    "h": 118
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#404628
secondary
#595278
accent
#64C477
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080905
muted
#7B7B79

Preview Lab

Preview with #404628

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

Preview Lab → · Contrast checker → · Palette generator →

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