#40624A#40624A

#40624A is a mid, muted green. Relative luminance 0.103; OKLCH L 46.3% C 0.056 H 153.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#40624A
RGBrgb(64, 98, 74)
HSLhsl(138, 21%, 32%)
HSVhsv(138, 35%, 38%)
CMYKcmyk(34.7%, 0%, 24.5%, 61.6%)
CIE-LABlab(38.41, -18.01, 9.83)
CIE-LCHlch(38.41, 20.52, 151.39°)
OKLaboklab(46.26% -0.0495 0.0252)
OKLCHoklch(46.26% 0.056 153.1)
XYZxyz(7.7176, 10.3194, 8.0624)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40624A #624058
analogous
#476240 #40624A #40625B
triadic
#40624A #4A4062 #624A40
tetradic
#40624A #404762 #624058 #625B40
square
#40624A #404762 #624058 #625B40
split-complementary
#40624A #5B4062 #624047
monochromatic
#101812 #283D2E #40624A #588766 #77A684

Accessibility & contrast

On white

6.85
#40624A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#40624A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40624A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40624A#FFFFFF#000000##FFFFFF
##40624A1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625D49
Deuteranopia (green-blind)
#5D594B
Tritanopia (blue-blind)
#3A615B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #40624a;
/* rgb */ color: rgb(64, 98, 74);
/* oklch */ color: oklch(46.3% 0.056 153.1);
Tailwind
colors: {
  custom: {
    50: '#768f7c',
    500: '#40624a',
    950: '#000000',
  },
}
SCSS
$custom: #40624a;
$custom-light: #768f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40624a",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 74
  },
  "hsl": {
    "h": 137.647,
    "s": 20.988,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46263,
    "c": 0.05557,
    "h": 153.1
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#40624A
secondary
#926C87
accent
#6AA5BE
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C09
muted
#7B7D7B

Preview Lab

Preview with #40624A

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

Preview Lab → · Contrast checker → · Palette generator →

#40624A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva