#40C868#40C868

#40C868 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.8% C 0.179 H 149.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#40C868
RGBrgb(64, 200, 104)
HSLhsl(138, 55%, 52%)
HSVhsv(138, 68%, 78%)
CMYKcmyk(68%, 0%, 48%, 21.6%)
CIE-LABlab(71.82, -57.06, 37.47)
CIE-LCHlch(71.82, 68.26, 146.71°)
OKLaboklab(73.78% -0.1537 0.0913)
OKLCHoklch(73.78% 0.179 149.3)
XYZxyz(25.2654, 43.3953, 20.1386)
Luminance0.4340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C868 #C840A0
analogous
#5CC840 #40C868 #40C8AC
triadic
#40C868 #6840C8 #C86840
tetradic
#40C868 #405CC8 #C840A0 #C8AC40
square
#40C868 #405CC8 #C840A0 #C8AC40
split-complementary
#40C868 #AC40C8 #C8405C
monochromatic
#206E37 #2D9D4E #40C868 #70D68E #9FE3B3

Accessibility & contrast

On white

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

On black

9.68
#40C868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C868
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C868#FFFFFF#000000##000000
##40C8681.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB760
Deuteranopia (green-blind)
#B9AB6F
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c868;
/* rgb */ color: rgb(64, 200, 104);
/* oklch */ color: oklch(73.8% 0.179 149.3);
Tailwind
colors: {
  custom: {
    50: '#85da95',
    500: '#40c868',
    950: '#000000',
  },
}
SCSS
$custom: #40c868;
$custom-light: #85da95;
$custom-dark: #000000;
JSON
{
  "hex": "#40c868",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 137.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73783,
    "c": 0.1788,
    "h": 149.3
  },
  "luminance": 0.43398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C868

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

Preview Lab → · Contrast checker → · Palette generator →

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