#40C867#40C867

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

Color values

HEX#40C867
RGBrgb(64, 200, 103)
HSLhsl(137, 55%, 52%)
HSVhsv(137, 68%, 78%)
CMYKcmyk(68%, 0%, 48.5%, 21.6%)
CIE-LABlab(71.81, -57.21, 37.95)
CIE-LCHlch(71.81, 68.65, 146.44°)
OKLaboklab(73.77% -0.1541 0.0923)
OKLCHoklch(73.77% 0.18 149.1)
XYZxyz(25.2149, 43.3751, 19.8727)
Luminance0.4338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C867 #C840A1
analogous
#5DC840 #40C867 #40C8AB
triadic
#40C867 #6740C8 #C86740
tetradic
#40C867 #405DC8 #C840A1 #C8AB40
square
#40C867 #405DC8 #C840A1 #C8AB40
split-complementary
#40C867 #AB40C8 #C8405D
monochromatic
#206E36 #2D9D4D #40C867 #70D68D #9FE3B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C867#FFFFFF#000000##000000
##40C8671.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)
#CAB75F
Deuteranopia (green-blind)
#B9AB6E
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c867;
/* rgb */ color: rgb(64, 200, 103);
/* oklch */ color: oklch(73.8% 0.180 149.1);
Tailwind
colors: {
  custom: {
    50: '#85da94',
    500: '#40c867',
    950: '#000000',
  },
}
SCSS
$custom: #40c867;
$custom-light: #85da94;
$custom-dark: #000000;
JSON
{
  "hex": "#40c867",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 137.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73767,
    "c": 0.17969,
    "h": 149.1
  },
  "luminance": 0.43378
}

Semantic roles & 50–950 ramp

primary
#40C867
secondary
#D094BF
accent
#49B4DF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C867

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

Preview Lab → · Contrast checker → · Palette generator →

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