#40964B#40964B

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

Color values

HEX#40964B
RGBrgb(64, 150, 75)
HSLhsl(128, 40%, 42%)
HSVhsv(128, 57%, 59%)
CMYKcmyk(57.3%, 0%, 50%, 41.2%)
CIE-LABlab(55.49, -42.29, 31.78)
CIE-LCHlch(55.49, 52.90, 143.07°)
OKLaboklab(60.2% -0.1145 0.0771)
OKLCHoklch(60.2% 0.138 146.1)
XYZxyz(14.2898, 23.4094, 10.4207)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40964B #96408B
analogous
#609640 #40964B #409676
triadic
#40964B #4B4096 #964B40
tetradic
#40964B #406096 #96408B #967640
square
#40964B #406096 #96408B #967640
split-complementary
#40964B #764096 #964060
monochromatic
#1B4020 #2E6B36 #40964B #5AB966 #85CB8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40964B#FFFFFF#000000##000000
##40964B1.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)
#988A45
Deuteranopia (green-blind)
#8D8250
Tritanopia (blue-blind)
#2F9384
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40964b;
/* rgb */ color: rgb(64, 150, 75);
/* oklch */ color: oklch(60.2% 0.138 146.1);
Tailwind
colors: {
  custom: {
    50: '#7db67f',
    500: '#40964b',
    950: '#000000',
  },
}
SCSS
$custom: #40964b;
$custom-light: #7db67f;
$custom-dark: #000000;
JSON
{
  "hex": "#40964b",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 75
  },
  "hsl": {
    "h": 127.674,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.13806,
    "h": 146.1
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#40964B
secondary
#B67CAE
accent
#58C1D0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40964B

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

Preview Lab → · Contrast checker → · Palette generator →

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