#40C35F#40C35F

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

Color values

HEX#40C35F
RGBrgb(64, 195, 95)
HSLhsl(134, 52%, 51%)
HSVhsv(134, 67%, 76%)
CMYKcmyk(67.2%, 0%, 51.3%, 23.5%)
CIE-LABlab(70.14, -56.60, 39.82)
CIE-LCHlch(70.14, 69.20, 144.88°)
OKLaboklab(72.35% -0.1526 0.0961)
OKLCHoklch(72.35% 0.18 147.8)
XYZxyz(23.6933, 40.9439, 17.4786)
Luminance0.4095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C35F #C340A4
analogous
#63C340 #40C35F #40C3A0
triadic
#40C35F #5F40C3 #C35F40
tetradic
#40C35F #4063C3 #C340A4 #C3A040
square
#40C35F #4063C3 #C340A4 #C3A040
split-complementary
#40C35F #A040C3 #C34063
monochromatic
#216832 #2F9748 #40C35F #6FD286 #9DE0AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C35F#FFFFFF#000000##000000
##40C35F1.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)
#C5B256
Deuteranopia (green-blind)
#B5A766
Tritanopia (blue-blind)
#07BFAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c35f;
/* rgb */ color: rgb(64, 195, 95);
/* oklch */ color: oklch(72.4% 0.180 147.8);
Tailwind
colors: {
  custom: {
    50: '#85d68e',
    500: '#40c35f',
    950: '#000000',
  },
}
SCSS
$custom: #40c35f;
$custom-light: #85d68e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c35f",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 95
  },
  "hsl": {
    "h": 134.198,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72352,
    "c": 0.18037,
    "h": 147.8
  },
  "luminance": 0.40946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C35F

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

Preview Lab → · Contrast checker → · Palette generator →

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