#40C138#40C138

#40C138 is a light, highly saturated green. Relative luminance 0.395; OKLCH L 71.4% C 0.208 H 142.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#40C138
RGBrgb(64, 193, 56)
HSLhsl(116, 55%, 49%)
HSVhsv(116, 71%, 76%)
CMYKcmyk(66.8%, 0%, 71%, 24.3%)
CIE-LABlab(69.12, -60.39, 55.89)
CIE-LCHlch(69.12, 82.28, 137.22°)
OKLaboklab(71.39% -0.1644 0.1272)
OKLCHoklch(71.39% 0.208 142.3)
XYZxyz(21.8969, 39.5132, 10.2134)
Luminance0.3952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C138 #B938C1
analogous
#85C138 #40C138 #38C175
triadic
#40C138 #3840C1 #C13840
tetradic
#40C138 #3885C1 #B938C1 #C17538
square
#40C138 #3885C1 #B938C1 #C17538
split-complementary
#40C138 #7538C1 #C13885
monochromatic
#21621C #30922A #40C138 #6BD264 #98E094

Accessibility & contrast

On white

2.36
#40C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#40C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C138
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C138#FFFFFF#000000##000000
##40C1381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#22BBA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c138;
/* rgb */ color: rgb(64, 193, 56);
/* oklch */ color: oklch(71.4% 0.208 142.3);
Tailwind
colors: {
  custom: {
    50: '#86d576',
    500: '#40c138',
    950: '#000000',
  },
}
SCSS
$custom: #40c138;
$custom-light: #86d576;
$custom-dark: #000000;
JSON
{
  "hex": "#40c138",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 116.496,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.20787,
    "h": 142.3
  },
  "luminance": 0.39515
}

Semantic roles & 50–950 ramp

primary
#40C138
secondary
#C78ACB
accent
#49DED6
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C138

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

Preview Lab → · Contrast checker → · Palette generator →

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