#40C858#40C858

#40C858 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.193 H 146.2°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#40C858
RGBrgb(64, 200, 88)
HSLhsl(131, 55%, 52%)
HSVhsv(131, 68%, 78%)
CMYKcmyk(68%, 0%, 56%, 21.6%)
CIE-LABlab(71.62, -59.35, 44.97)
CIE-LCHlch(71.62, 74.47, 142.85°)
OKLaboklab(73.55% -0.1602 0.1071)
OKLCHoklch(73.55% 0.193 146.2)
XYZxyz(24.5284, 43.1005, 16.2572)
Luminance0.4310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C858 #C840B0
analogous
#6CC840 #40C858 #40C89C
triadic
#40C858 #5840C8 #C85840
tetradic
#40C858 #406CC8 #C840B0 #C89C40
square
#40C858 #406CC8 #C840B0 #C89C40
split-complementary
#40C858 #9C40C8 #C8406C
monochromatic
#206E2D #2D9D41 #40C858 #70D682 #9FE3AB

Accessibility & contrast

On white

2.18
#40C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#40C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C858
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C858#FFFFFF#000000##000000
##40C8581.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64D
Deuteranopia (green-blind)
#BAAB61
Tritanopia (blue-blind)
#09C3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c858;
/* rgb */ color: rgb(64, 200, 88);
/* oklch */ color: oklch(73.6% 0.193 146.2);
Tailwind
colors: {
  custom: {
    50: '#86da8a',
    500: '#40c858',
    950: '#000000',
  },
}
SCSS
$custom: #40c858;
$custom-light: #86da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c858",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 130.588,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.19269,
    "h": 146.2
  },
  "luminance": 0.43103
}

Semantic roles & 50–950 ramp

primary
#40C858
secondary
#D094C5
accent
#49C4DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C858

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

Preview Lab → · Contrast checker → · Palette generator →

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