#40C968#40C968

#40C968 is a light, vivid green. Relative luminance 0.439; OKLCH L 74.0% C 0.180 H 149.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#40C968
RGBrgb(64, 201, 104)
HSLhsl(138, 56%, 52%)
HSVhsv(138, 68%, 79%)
CMYKcmyk(68.2%, 0%, 48.3%, 21.2%)
CIE-LABlab(72.13, -57.42, 37.86)
CIE-LCHlch(72.13, 68.78, 146.60°)
OKLaboklab(74.04% -0.1547 0.0922)
OKLCHoklch(74.04% 0.18 149.2)
XYZxyz(25.4977, 43.8600, 20.2161)
Luminance0.4386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C968 #C940A1
analogous
#5DC940 #40C968 #40C9AC
triadic
#40C968 #6840C9 #C96840
tetradic
#40C968 #405DC9 #C940A1 #C9AC40
square
#40C968 #405DC9 #C940A1 #C9AC40
split-complementary
#40C968 #AC40C9 #C9405D
monochromatic
#1F6F37 #2D9F4E #40C968 #70D68E #9FE4B3

Accessibility & contrast

On white

2.15
#40C968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#40C968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C968
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C968#FFFFFF#000000##000000
##40C9681.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB860
Deuteranopia (green-blind)
#BAAC6F
Tritanopia (blue-blind)
#00C5B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c968;
/* rgb */ color: rgb(64, 201, 104);
/* oklch */ color: oklch(74.0% 0.180 149.2);
Tailwind
colors: {
  custom: {
    50: '#86da95',
    500: '#40c968',
    950: '#000000',
  },
}
SCSS
$custom: #40c968;
$custom-light: #86da95;
$custom-dark: #000000;
JSON
{
  "hex": "#40c968",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 137.518,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.18009,
    "h": 149.2
  },
  "luminance": 0.43863
}

Semantic roles & 50–950 ramp

primary
#40C968
secondary
#D094BF
accent
#49B3DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C968

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

Preview Lab → · Contrast checker → · Palette generator →

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