#405246#405246

#405246 is a dark, muted green. Relative luminance 0.076; OKLCH L 41.9% C 0.030 H 155.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#405246
RGBrgb(64, 82, 70)
HSLhsl(140, 12%, 29%)
HSVhsv(140, 22%, 32%)
CMYKcmyk(22%, 0%, 14.6%, 67.8%)
CIE-LABlab(33.06, -9.81, 4.76)
CIE-LCHlch(33.06, 10.90, 154.12°)
OKLaboklab(41.94% -0.0273 0.0123)
OKLCHoklch(41.94% 0.03 155.7)
XYZxyz(6.2368, 7.5666, 6.9251)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405246 #52404C
analogous
#435240 #405246 #40524F
triadic
#405246 #464052 #524640
tetradic
#405246 #404352 #52404C #524F40
square
#405246 #404352 #52404C #524F40
split-complementary
#405246 #4F4052 #524043
monochromatic
#0D110F #253029 #405246 #5B7463 #779581

Accessibility & contrast

On white

8.36
#405246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#405246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405246
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405246#FFFFFF#000000##FFFFFF
##4052461.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#4F4D47
Tritanopia (blue-blind)
#3D524F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405246;
/* rgb */ color: rgb(64, 82, 70);
/* oklch */ color: oklch(41.9% 0.030 155.7);
Tailwind
colors: {
  custom: {
    50: '#758279',
    500: '#405246',
    950: '#000000',
  },
}
SCSS
$custom: #405246;
$custom-light: #758279;
$custom-dark: #000000;
JSON
{
  "hex": "#405246",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 70
  },
  "hsl": {
    "h": 140,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.02997,
    "h": 155.7
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#405246
secondary
#816D7A
accent
#739FB5
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A09
muted
#7B7C7B

Preview Lab

Preview with #405246

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

Preview Lab → · Contrast checker → · Palette generator →

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