#40964A#40964A

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

Color values

HEX#40964A
RGBrgb(64, 150, 74)
HSLhsl(127, 40%, 42%)
HSVhsv(127, 57%, 59%)
CMYKcmyk(57.3%, 0%, 50.7%, 41.2%)
CIE-LABlab(55.48, -42.44, 32.28)
CIE-LCHlch(55.48, 53.32, 142.74°)
OKLaboklab(60.18% -0.115 0.0781)
OKLCHoklch(60.18% 0.139 145.8)
XYZxyz(14.2559, 23.3958, 10.2418)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40964A #96408C
analogous
#619640 #40964A #409675
triadic
#40964A #4A4096 #964A40
tetradic
#40964A #406196 #96408C #967540
square
#40964A #406196 #96408C #967540
split-complementary
#40964A #754096 #964061
monochromatic
#1B4020 #2E6B35 #40964A #5AB965 #85CB8D

Accessibility & contrast

On white

3.70
#40964A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#40964A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40964A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40964A#FFFFFF#000000##000000
##40964A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A44
Deuteranopia (green-blind)
#8D824F
Tritanopia (blue-blind)
#2F9384
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40964a;
/* rgb */ color: rgb(64, 150, 74);
/* oklch */ color: oklch(60.2% 0.139 145.8);
Tailwind
colors: {
  custom: {
    50: '#7db67e',
    500: '#40964a',
    950: '#000000',
  },
}
SCSS
$custom: #40964a;
$custom-light: #7db67e;
$custom-dark: #000000;
JSON
{
  "hex": "#40964a",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 74
  },
  "hsl": {
    "h": 126.977,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.13901,
    "h": 145.8
  },
  "luminance": 0.23397
}

Semantic roles & 50–950 ramp

primary
#40964A
secondary
#B67CAF
accent
#58C2D0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40964A

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

Preview Lab → · Contrast checker → · Palette generator →

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