#40C951#40C951

#40C951 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.7% C 0.200 H 145.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#40C951
RGBrgb(64, 201, 81)
HSLhsl(127, 56%, 52%)
HSVhsv(127, 68%, 79%)
CMYKcmyk(68.2%, 0%, 59.7%, 21.2%)
CIE-LABlab(71.86, -60.58, 48.47)
CIE-LCHlch(71.86, 77.58, 141.34°)
OKLaboklab(73.73% -0.1637 0.1141)
OKLCHoklch(73.73% 0.2 145.1)
XYZxyz(24.4846, 43.4547, 14.8802)
Luminance0.4346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C951 #C940B8
analogous
#74C940 #40C951 #40C995
triadic
#40C951 #5140C9 #C95140
tetradic
#40C951 #4074C9 #C940B8 #C99540
square
#40C951 #4074C9 #C940B8 #C99540
split-complementary
#40C951 #9540C9 #C94074
monochromatic
#1F6F29 #2D9F3B #40C951 #70D67C #9FE4A8

Accessibility & contrast

On white

2.17
#40C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#40C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C951
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C951#FFFFFF#000000##000000
##40C9511.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB744
Deuteranopia (green-blind)
#BCAC5B
Tritanopia (blue-blind)
#0FC4AF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c951;
/* rgb */ color: rgb(64, 201, 81);
/* oklch */ color: oklch(73.7% 0.200 145.1);
Tailwind
colors: {
  custom: {
    50: '#86db86',
    500: '#40c951',
    950: '#000000',
  },
}
SCSS
$custom: #40c951;
$custom-light: #86db86;
$custom-dark: #000000;
JSON
{
  "hex": "#40c951",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 127.445,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73727,
    "c": 0.19959,
    "h": 145.1
  },
  "luminance": 0.43457
}

Semantic roles & 50–950 ramp

primary
#40C951
secondary
#D094C9
accent
#49CDDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C951

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

Preview Lab → · Contrast checker → · Palette generator →

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