#40965D#40965D

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

Color values

HEX#40965D
RGBrgb(64, 150, 93)
HSLhsl(140, 40%, 42%)
HSVhsv(140, 57%, 59%)
CMYKcmyk(57.3%, 0%, 38%, 41.2%)
CIE-LABlab(55.78, -39.21, 22.48)
CIE-LCHlch(55.78, 45.20, 150.17°)
OKLaboklab(60.53% -0.1063 0.0562)
OKLCHoklch(60.53% 0.12 152.2)
XYZxyz(14.9954, 23.6916, 14.1365)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40965D #964079
analogous
#4E9640 #40965D #409688
triadic
#40965D #5D4096 #965D40
tetradic
#40965D #404E96 #964079 #968840
square
#40965D #404E96 #964079 #968840
split-complementary
#40965D #884096 #96404E
monochromatic
#1B4028 #2E6B42 #40965D #5AB97A #85CB9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40965D#FFFFFF#000000##000000
##40965D1.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)
#968B59
Deuteranopia (green-blind)
#8B8261
Tritanopia (blue-blind)
#289488
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40965d;
/* rgb */ color: rgb(64, 150, 93);
/* oklch */ color: oklch(60.5% 0.120 152.2);
Tailwind
colors: {
  custom: {
    50: '#7cb58b',
    500: '#40965d',
    950: '#000000',
  },
}
SCSS
$custom: #40965d;
$custom-light: #7cb58b;
$custom-dark: #000000;
JSON
{
  "hex": "#40965d",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 93
  },
  "hsl": {
    "h": 140.233,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.12027,
    "h": 152.2
  },
  "luminance": 0.23693
}

Semantic roles & 50–950 ramp

primary
#40965D
secondary
#B67CA2
accent
#58A7D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40965D

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

Preview Lab → · Contrast checker → · Palette generator →

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