#40B968#40B968

#40B968 is a light, vivid green. Relative luminance 0.368; OKLCH L 69.9% C 0.159 H 150.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#40B968
RGBrgb(64, 185, 104)
HSLhsl(140, 49%, 49%)
HSVhsv(140, 65%, 73%)
CMYKcmyk(65.4%, 0%, 43.8%, 27.5%)
CIE-LABlab(67.12, -51.45, 31.47)
CIE-LCHlch(67.12, 60.31, 148.55°)
OKLaboklab(69.9% -0.1388 0.0775)
OKLCHoklch(69.9% 0.159 150.8)
XYZxyz(21.9603, 36.7851, 19.0369)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B968 #B94091
analogous
#55B940 #40B968 #40B9A5
triadic
#40B968 #6840B9 #B96840
tetradic
#40B968 #4055B9 #B94091 #B9A540
square
#40B968 #4055B9 #B94091 #B9A540
split-complementary
#40B968 #A540B9 #B94055
monochromatic
#215E35 #308C4E #40B968 #6BCC8B #98DBAE

Accessibility & contrast

On white

2.51
#40B968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#40B968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B968
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B968#FFFFFF#000000##000000
##40B9681.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAA62
Deuteranopia (green-blind)
#AB9F6D
Tritanopia (blue-blind)
#08B6A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b968;
/* rgb */ color: rgb(64, 185, 104);
/* oklch */ color: oklch(69.9% 0.159 150.8);
Tailwind
colors: {
  custom: {
    50: '#82cf94',
    500: '#40b968',
    950: '#000000',
  },
}
SCSS
$custom: #40b968;
$custom-light: #82cf94;
$custom-dark: #000000;
JSON
{
  "hex": "#40b968",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 104
  },
  "hsl": {
    "h": 139.835,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.159,
    "h": 150.8
  },
  "luminance": 0.36787
}

Semantic roles & 50–950 ramp

primary
#40B968
secondary
#C78EB4
accent
#50ABD8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B968

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

Preview Lab → · Contrast checker → · Palette generator →

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