#40C851#40C851

#40C851 is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.198 H 145.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#40C851
RGBrgb(64, 200, 81)
HSLhsl(128, 55%, 52%)
HSVhsv(128, 68%, 78%)
CMYKcmyk(68%, 0%, 59.5%, 21.6%)
CIE-LABlab(71.55, -60.23, 48.11)
CIE-LCHlch(71.55, 77.08, 141.39°)
OKLaboklab(73.47% -0.1628 0.1134)
OKLCHoklch(73.47% 0.198 145.1)
XYZxyz(24.2522, 42.9900, 14.8028)
Luminance0.4299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C851 #C840B7
analogous
#73C840 #40C851 #40C895
triadic
#40C851 #5140C8 #C85140
tetradic
#40C851 #4073C8 #C840B7 #C89540
square
#40C851 #4073C8 #C840B7 #C89540
split-complementary
#40C851 #9540C8 #C84073
monochromatic
#206E29 #2D9D3B #40C851 #70D67C #9FE3A8

Accessibility & contrast

On white

2.19
#40C851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#40C851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C851
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C851#FFFFFF#000000##000000
##40C8511.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB644
Deuteranopia (green-blind)
#BBAB5B
Tritanopia (blue-blind)
#10C3AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c851;
/* rgb */ color: rgb(64, 200, 81);
/* oklch */ color: oklch(73.5% 0.198 145.1);
Tailwind
colors: {
  custom: {
    50: '#86da86',
    500: '#40c851',
    950: '#000000',
  },
}
SCSS
$custom: #40c851;
$custom-light: #86da86;
$custom-dark: #000000;
JSON
{
  "hex": "#40c851",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 127.5,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73467,
    "c": 0.19838,
    "h": 145.1
  },
  "luminance": 0.42993
}

Semantic roles & 50–950 ramp

primary
#40C851
secondary
#D094C8
accent
#49CCDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C851

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

Preview Lab → · Contrast checker → · Palette generator →

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