#40964C#40964C

#40964C is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.2% C 0.137 H 146.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#40964C
RGBrgb(64, 150, 76)
HSLhsl(128, 40%, 42%)
HSVhsv(128, 57%, 59%)
CMYKcmyk(57.3%, 0%, 49.3%, 41.2%)
CIE-LABlab(55.51, -42.13, 31.27)
CIE-LCHlch(55.51, 52.47, 143.41°)
OKLaboklab(60.21% -0.1141 0.076)
OKLCHoklch(60.21% 0.137 146.3)
XYZxyz(14.3243, 23.4232, 10.6024)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40964C #96408A
analogous
#5F9640 #40964C #409677
triadic
#40964C #4C4096 #964C40
tetradic
#40964C #405F96 #96408A #967740
square
#40964C #405F96 #96408A #967740
split-complementary
#40964C #774096 #96405F
monochromatic
#1B4021 #2E6B36 #40964C #5AB968 #85CB8F

Accessibility & contrast

On white

3.69
#40964C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#40964C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40964C
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40964C#FFFFFF#000000##000000
##40964C1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A46
Deuteranopia (green-blind)
#8D8251
Tritanopia (blue-blind)
#2F9385
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40964c;
/* rgb */ color: rgb(64, 150, 76);
/* oklch */ color: oklch(60.2% 0.137 146.3);
Tailwind
colors: {
  custom: {
    50: '#7db67f',
    500: '#40964c',
    950: '#000000',
  },
}
SCSS
$custom: #40964c;
$custom-light: #7db67f;
$custom-dark: #000000;
JSON
{
  "hex": "#40964c",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 76
  },
  "hsl": {
    "h": 128.372,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.13709,
    "h": 146.3
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#40964C
secondary
#B67CAE
accent
#58BFD0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40964C

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

Preview Lab → · Contrast checker → · Palette generator →

#40964C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva