#40965C#40965C

#40965C is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.5% C 0.121 H 151.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40965C
RGBrgb(64, 150, 92)
HSLhsl(140, 40%, 42%)
HSVhsv(140, 57%, 59%)
CMYKcmyk(57.3%, 0%, 38.7%, 41.2%)
CIE-LABlab(55.76, -39.40, 23.01)
CIE-LCHlch(55.76, 45.63, 149.72°)
OKLaboklab(60.51% -0.1068 0.0574)
OKLCHoklch(60.51% 0.121 151.7)
XYZxyz(14.9514, 23.6740, 13.9048)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40965C #96407A
analogous
#4F9640 #40965C #409687
triadic
#40965C #5C4096 #965C40
tetradic
#40965C #404F96 #96407A #968740
square
#40965C #404F96 #96407A #968740
split-complementary
#40965C #874096 #96404F
monochromatic
#1B4027 #2E6B42 #40965C #5AB979 #85CB9C

Accessibility & contrast

On white

3.66
#40965C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#40965C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40965C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40965C#FFFFFF#000000##000000
##40965C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B58
Deuteranopia (green-blind)
#8B8260
Tritanopia (blue-blind)
#299487
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40965c;
/* rgb */ color: rgb(64, 150, 92);
/* oklch */ color: oklch(60.5% 0.121 151.7);
Tailwind
colors: {
  custom: {
    50: '#7cb58a',
    500: '#40965c',
    950: '#000000',
  },
}
SCSS
$custom: #40965c;
$custom-light: #7cb58a;
$custom-dark: #000000;
JSON
{
  "hex": "#40965c",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 92
  },
  "hsl": {
    "h": 139.535,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.12126,
    "h": 151.7
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#40965C
secondary
#B67CA3
accent
#58A9D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40965C

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

Preview Lab → · Contrast checker → · Palette generator →

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