#40964F#40964F

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

Color values

HEX#40964F
RGBrgb(64, 150, 79)
HSLhsl(130, 40%, 42%)
HSVhsv(130, 57%, 59%)
CMYKcmyk(57.3%, 0%, 47.3%, 41.2%)
CIE-LABlab(55.55, -41.66, 29.75)
CIE-LCHlch(55.55, 51.19, 144.47°)
OKLaboklab(60.26% -0.1128 0.0727)
OKLCHoklch(60.26% 0.134 147.2)
XYZxyz(14.4311, 23.4659, 11.1645)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40964F #964087
analogous
#5C9640 #40964F #40967A
triadic
#40964F #4F4096 #964F40
tetradic
#40964F #405C96 #964087 #967A40
square
#40964F #405C96 #964087 #967A40
split-complementary
#40964F #7A4096 #96405C
monochromatic
#1B4022 #2E6B38 #40964F #5AB96B #85CB91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40964F#FFFFFF#000000##000000
##40964F1.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)
#988A49
Deuteranopia (green-blind)
#8C8254
Tritanopia (blue-blind)
#2E9385
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40964f;
/* rgb */ color: rgb(64, 150, 79);
/* oklch */ color: oklch(60.3% 0.134 147.2);
Tailwind
colors: {
  custom: {
    50: '#7db581',
    500: '#40964f',
    950: '#000000',
  },
}
SCSS
$custom: #40964f;
$custom-light: #7db581;
$custom-dark: #000000;
JSON
{
  "hex": "#40964f",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 79
  },
  "hsl": {
    "h": 130.465,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60263,
    "c": 0.13417,
    "h": 147.2
  },
  "luminance": 0.23467
}

Semantic roles & 50–950 ramp

primary
#40964F
secondary
#B67CAC
accent
#58BBD0
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40964F

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

Preview Lab → · Contrast checker → · Palette generator →

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