#40C35E#40C35E

#40C35E is a light, vivid green. Relative luminance 0.409; OKLCH L 72.3% C 0.181 H 147.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#40C35E
RGBrgb(64, 195, 94)
HSLhsl(134, 52%, 51%)
HSVhsv(134, 67%, 76%)
CMYKcmyk(67.2%, 0%, 51.8%, 23.5%)
CIE-LABlab(70.12, -56.75, 40.29)
CIE-LCHlch(70.12, 69.59, 144.63°)
OKLaboklab(72.34% -0.153 0.0971)
OKLCHoklch(72.34% 0.181 147.6)
XYZxyz(23.6481, 40.9258, 17.2407)
Luminance0.4093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C35E #C340A5
analogous
#64C340 #40C35E #40C39F
triadic
#40C35E #5E40C3 #C35E40
tetradic
#40C35E #4064C3 #C340A5 #C39F40
square
#40C35E #4064C3 #C340A5 #C39F40
split-complementary
#40C35E #9F40C3 #C34064
monochromatic
#216831 #2F9747 #40C35E #6FD285 #9DE0AD

Accessibility & contrast

On white

2.29
#40C35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#40C35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C35E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C35E#FFFFFF#000000##000000
##40C35E1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B255
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#08BFAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c35e;
/* rgb */ color: rgb(64, 195, 94);
/* oklch */ color: oklch(72.3% 0.181 147.6);
Tailwind
colors: {
  custom: {
    50: '#85d68e',
    500: '#40c35e',
    950: '#000000',
  },
}
SCSS
$custom: #40c35e;
$custom-light: #85d68e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c35e",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 133.74,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72338,
    "c": 0.18125,
    "h": 147.6
  },
  "luminance": 0.40928
}

Semantic roles & 50–950 ramp

primary
#40C35E
secondary
#CC92BF
accent
#4CBBDC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C35E

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

Preview Lab → · Contrast checker → · Palette generator →

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