#40B960#40B960

#40B960 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.8% C 0.166 H 148.8°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#40B960
RGBrgb(64, 185, 96)
HSLhsl(136, 49%, 49%)
HSVhsv(136, 65%, 73%)
CMYKcmyk(65.4%, 0%, 48.1%, 27.5%)
CIE-LABlab(67.00, -52.76, 35.41)
CIE-LCHlch(67.00, 63.54, 146.13°)
OKLaboklab(69.77% -0.1423 0.0863)
OKLCHoklch(69.77% 0.166 148.8)
XYZxyz(21.5730, 36.6302, 16.9975)
Luminance0.3663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B960 #B94099
analogous
#5DB940 #40B960 #40B99D
triadic
#40B960 #6040B9 #B96040
tetradic
#40B960 #405DB9 #B94099 #B99D40
square
#40B960 #405DB9 #B94099 #B99D40
split-complementary
#40B960 #9D40B9 #B9405D
monochromatic
#215E31 #308C48 #40B960 #6BCC84 #98DBAA

Accessibility & contrast

On white

2.52
#40B960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#40B960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B960
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B960#FFFFFF#000000##000000
##40B9601.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA959
Deuteranopia (green-blind)
#AB9F66
Tritanopia (blue-blind)
#12B5A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b960;
/* rgb */ color: rgb(64, 185, 96);
/* oklch */ color: oklch(69.8% 0.166 148.8);
Tailwind
colors: {
  custom: {
    50: '#83cf8e',
    500: '#40b960',
    950: '#000000',
  },
}
SCSS
$custom: #40b960;
$custom-light: #83cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b960",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 135.868,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.16641,
    "h": 148.8
  },
  "luminance": 0.36632
}

Semantic roles & 50–950 ramp

primary
#40B960
secondary
#C78EB8
accent
#50B4D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B960

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

Preview Lab → · Contrast checker → · Palette generator →

#40B960 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva