#40965B#40965B

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

Color values

HEX#40965B
RGBrgb(64, 150, 91)
HSLhsl(139, 40%, 42%)
HSVhsv(139, 57%, 59%)
CMYKcmyk(57.3%, 0%, 39.3%, 41.2%)
CIE-LABlab(55.74, -39.59, 23.53)
CIE-LCHlch(55.74, 46.05, 149.27°)
OKLaboklab(60.49% -0.1073 0.0586)
OKLCHoklch(60.49% 0.122 151.3)
XYZxyz(14.9079, 23.6567, 13.6761)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40965B #96407B
analogous
#509640 #40965B #409686
triadic
#40965B #5B4096 #965B40
tetradic
#40965B #405096 #96407B #968640
square
#40965B #405096 #96407B #968640
split-complementary
#40965B #864096 #964050
monochromatic
#1B4027 #2E6B41 #40965B #5AB978 #85CB9B

Accessibility & contrast

On white

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

On black

5.73
#40965B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40965B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40965B#FFFFFF#000000##000000
##40965B1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A57
Deuteranopia (green-blind)
#8B825F
Tritanopia (blue-blind)
#299487
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40965b;
/* rgb */ color: rgb(64, 150, 91);
/* oklch */ color: oklch(60.5% 0.122 151.3);
Tailwind
colors: {
  custom: {
    50: '#7cb58a',
    500: '#40965b',
    950: '#000000',
  },
}
SCSS
$custom: #40965b;
$custom-light: #7cb58a;
$custom-dark: #000000;
JSON
{
  "hex": "#40965b",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 91
  },
  "hsl": {
    "h": 138.837,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60485,
    "c": 0.12226,
    "h": 151.3
  },
  "luminance": 0.23658
}

Semantic roles & 50–950 ramp

primary
#40965B
secondary
#B67CA4
accent
#58AAD0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40965B

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

Preview Lab → · Contrast checker → · Palette generator →

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