#40C962#40C962

#40C962 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.185 H 148.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#40C962
RGBrgb(64, 201, 98)
HSLhsl(135, 56%, 52%)
HSVhsv(135, 68%, 79%)
CMYKcmyk(68.2%, 0%, 51.2%, 21.2%)
CIE-LABlab(72.06, -58.32, 40.71)
CIE-LCHlch(72.06, 71.13, 145.08°)
OKLaboklab(73.95% -0.1572 0.0983)
OKLCHoklch(73.95% 0.185 148)
XYZxyz(25.2037, 43.7424, 18.6678)
Luminance0.4375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C962 #C940A7
analogous
#62C940 #40C962 #40C9A7
triadic
#40C962 #6240C9 #C96240
tetradic
#40C962 #4062C9 #C940A7 #C9A740
square
#40C962 #4062C9 #C940A7 #C9A740
split-complementary
#40C962 #A740C9 #C94062
monochromatic
#1F6F33 #2D9F49 #40C962 #70D689 #9FE4B0

Accessibility & contrast

On white

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

On black

9.75
#40C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C962
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C962#FFFFFF#000000##000000
##40C9621.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB859
Deuteranopia (green-blind)
#BAAC6A
Tritanopia (blue-blind)
#00C5B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c962;
/* rgb */ color: rgb(64, 201, 98);
/* oklch */ color: oklch(74.0% 0.185 148.0);
Tailwind
colors: {
  custom: {
    50: '#86da91',
    500: '#40c962',
    950: '#000000',
  },
}
SCSS
$custom: #40c962;
$custom-light: #86da91;
$custom-dark: #000000;
JSON
{
  "hex": "#40c962",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 134.891,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7395,
    "c": 0.1854,
    "h": 148
  },
  "luminance": 0.43745
}

Semantic roles & 50–950 ramp

primary
#40C962
secondary
#D094C2
accent
#49BADF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C962

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

Preview Lab → · Contrast checker → · Palette generator →

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