#405B45#405B45

#405B45 is a dark, muted green. Relative luminance 0.090; OKLCH L 44.3% C 0.048 H 149.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#405B45
RGBrgb(64, 91, 69)
HSLhsl(131, 17%, 30%)
HSVhsv(131, 30%, 36%)
CMYKcmyk(29.7%, 0%, 24.2%, 64.3%)
CIE-LABlab(35.99, -15.21, 9.51)
CIE-LCHlch(35.99, 17.94, 147.99°)
OKLaboklab(44.27% -0.0417 0.0243)
OKLCHoklch(44.27% 0.048 149.8)
XYZxyz(6.9293, 9.0016, 7.0014)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B45 #5B4056
analogous
#485B40 #405B45 #405B52
triadic
#405B45 #45405B #5B4540
tetradic
#405B45 #40485B #5B4056 #5B5240
square
#405B45 #40485B #5B4056 #5B5240
split-complementary
#405B45 #52405B #5B4048
monochromatic
#0D130F #27372A #405B45 #597F60 #769F7E

Accessibility & contrast

On white

7.50
#405B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#405B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B45
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B45#FFFFFF#000000##FFFFFF
##405B451.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5644
Deuteranopia (green-blind)
#575346
Tritanopia (blue-blind)
#3C5A55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405b45;
/* rgb */ color: rgb(64, 91, 69);
/* oklch */ color: oklch(44.3% 0.048 149.8);
Tailwind
colors: {
  custom: {
    50: '#758978',
    500: '#405b45',
    950: '#000000',
  },
}
SCSS
$custom: #405b45;
$custom-light: #758978;
$custom-dark: #000000;
JSON
{
  "hex": "#405b45",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 69
  },
  "hsl": {
    "h": 131.111,
    "s": 17.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.04833,
    "h": 149.8
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#405B45
secondary
#8A6C85
accent
#6EACBA
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #405B45

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

Preview Lab → · Contrast checker → · Palette generator →

#405B45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva