#40C139#40C139

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

Color values

HEX#40C139
RGBrgb(64, 193, 57)
HSLhsl(117, 54%, 49%)
HSVhsv(117, 70%, 76%)
CMYKcmyk(66.8%, 0%, 70.5%, 24.3%)
CIE-LABlab(69.13, -60.30, 55.52)
CIE-LCHlch(69.13, 81.97, 137.37°)
OKLaboklab(71.4% -0.1641 0.1266)
OKLCHoklch(71.4% 0.207 142.4)
XYZxyz(21.9216, 39.5230, 10.3435)
Luminance0.3952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C139 #BA39C1
analogous
#84C139 #40C139 #39C176
triadic
#40C139 #3940C1 #C13940
tetradic
#40C139 #3984C1 #BA39C1 #C17639
square
#40C139 #3984C1 #BA39C1 #C17639
split-complementary
#40C139 #7639C1 #C13984
monochromatic
#21631D #30922B #40C139 #6BD266 #99E095

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C139#FFFFFF#000000##000000
##40C1391.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)
#C5AF23
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#22BBA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c139;
/* rgb */ color: rgb(64, 193, 57);
/* oklch */ color: oklch(71.4% 0.207 142.4);
Tailwind
colors: {
  custom: {
    50: '#86d577',
    500: '#40c139',
    950: '#000000',
  },
}
SCSS
$custom: #40c139;
$custom-light: #86d577;
$custom-dark: #000000;
JSON
{
  "hex": "#40c139",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 116.912,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.20724,
    "h": 142.4
  },
  "luminance": 0.39525
}

Semantic roles & 50–950 ramp

primary
#40C139
secondary
#C88BCB
accent
#4ADED6
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C139

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

Preview Lab → · Contrast checker → · Palette generator →

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