#40964D#40964D

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

Color values

HEX#40964D
RGBrgb(64, 150, 77)
HSLhsl(129, 40%, 42%)
HSVhsv(129, 57%, 59%)
CMYKcmyk(57.3%, 0%, 48.7%, 41.2%)
CIE-LABlab(55.52, -41.98, 30.77)
CIE-LCHlch(55.52, 52.04, 143.76°)
OKLaboklab(60.23% -0.1137 0.0749)
OKLCHoklch(60.23% 0.136 146.6)
XYZxyz(14.3594, 23.4372, 10.7869)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40964D #964089
analogous
#5E9640 #40964D #409678
triadic
#40964D #4D4096 #964D40
tetradic
#40964D #405E96 #964089 #967840
square
#40964D #405E96 #964089 #967840
split-complementary
#40964D #784096 #96405E
monochromatic
#1B4021 #2E6B37 #40964D #5AB969 #85CB90

Accessibility & contrast

On white

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

On black

5.69
#40964D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40964D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40964D#FFFFFF#000000##000000
##40964D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A47
Deuteranopia (green-blind)
#8D8252
Tritanopia (blue-blind)
#2E9385
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40964d;
/* rgb */ color: rgb(64, 150, 77);
/* oklch */ color: oklch(60.2% 0.136 146.6);
Tailwind
colors: {
  custom: {
    50: '#7db680',
    500: '#40964d',
    950: '#000000',
  },
}
SCSS
$custom: #40964d;
$custom-light: #7db680;
$custom-dark: #000000;
JSON
{
  "hex": "#40964d",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 77
  },
  "hsl": {
    "h": 129.07,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6023,
    "c": 0.13613,
    "h": 146.6
  },
  "luminance": 0.23439
}

Semantic roles & 50–950 ramp

primary
#40964D
secondary
#B67CAD
accent
#58BED0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40964D

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

Preview Lab → · Contrast checker → · Palette generator →

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