#40964E#40964E

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

Color values

HEX#40964E
RGBrgb(64, 150, 78)
HSLhsl(130, 40%, 42%)
HSVhsv(130, 57%, 59%)
CMYKcmyk(57.3%, 0%, 48%, 41.2%)
CIE-LABlab(55.53, -41.82, 30.26)
CIE-LCHlch(55.53, 51.62, 144.11°)
OKLaboklab(60.25% -0.1132 0.0738)
OKLCHoklch(60.25% 0.135 146.9)
XYZxyz(14.3949, 23.4515, 10.9743)
Luminance0.2345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40964E #964088
analogous
#5D9640 #40964E #409679
triadic
#40964E #4E4096 #964E40
tetradic
#40964E #405D96 #964088 #967940
square
#40964E #405D96 #964088 #967940
split-complementary
#40964E #794096 #96405D
monochromatic
#1B4021 #2E6B38 #40964E #5AB96A #85CB91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40964E#FFFFFF#000000##000000
##40964E1.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)
#988A48
Deuteranopia (green-blind)
#8C8253
Tritanopia (blue-blind)
#2E9385
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40964e;
/* rgb */ color: rgb(64, 150, 78);
/* oklch */ color: oklch(60.2% 0.135 146.9);
Tailwind
colors: {
  custom: {
    50: '#7db681',
    500: '#40964e',
    950: '#000000',
  },
}
SCSS
$custom: #40964e;
$custom-light: #7db681;
$custom-dark: #000000;
JSON
{
  "hex": "#40964e",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 78
  },
  "hsl": {
    "h": 129.767,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.13514,
    "h": 146.9
  },
  "luminance": 0.23453
}

Semantic roles & 50–950 ramp

primary
#40964E
secondary
#B67CAC
accent
#58BCD0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40964E

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

Preview Lab → · Contrast checker → · Palette generator →

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