#406752#406752

#406752 is a mid, muted green. Relative luminance 0.114; OKLCH L 47.8% C 0.056 H 159.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#406752
RGBrgb(64, 103, 82)
HSLhsl(148, 23%, 33%)
HSVhsv(148, 38%, 40%)
CMYKcmyk(37.9%, 0%, 20.4%, 59.6%)
CIE-LABlab(40.24, -18.95, 7.55)
CIE-LCHlch(40.24, 20.40, 158.29°)
OKLaboklab(47.81% -0.0527 0.0194)
OKLCHoklch(47.81% 0.056 159.8)
XYZxyz(8.4870, 11.3992, 9.7341)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406752 #674055
analogous
#426740 #406752 #406765
triadic
#406752 #524067 #675240
tetradic
#406752 #404267 #674055 #676540
square
#406752 #404267 #674055 #676540
split-complementary
#406752 #654067 #674042
monochromatic
#111C16 #294134 #406752 #578D70 #77AA8F

Accessibility & contrast

On white

6.40
#406752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#406752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406752
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406752#FFFFFF#000000##FFFFFF
##4067521.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666251
Deuteranopia (green-blind)
#605D53
Tritanopia (blue-blind)
#386761
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #406752;
/* rgb */ color: rgb(64, 103, 82);
/* oklch */ color: oklch(47.8% 0.056 159.8);
Tailwind
colors: {
  custom: {
    50: '#769282',
    500: '#406752',
    950: '#000000',
  },
}
SCSS
$custom: #406752;
$custom-light: #769282;
$custom-dark: #000000;
JSON
{
  "hex": "#406752",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 82
  },
  "hsl": {
    "h": 147.692,
    "s": 23.353,
    "l": 32.745
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.05612,
    "h": 159.8
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#406752
secondary
#966D83
accent
#6897C0
background
#F7F9F7
surface
#EDF1EE
border
#C8CBC9
text
#080D0A
muted
#7B7E7C

Preview Lab

Preview with #406752

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

Preview Lab → · Contrast checker → · Palette generator →

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