#40C25E#40C25E

#40C25E is a light, vivid green. Relative luminance 0.405; OKLCH L 72.1% C 0.180 H 147.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#40C25E
RGBrgb(64, 194, 94)
HSLhsl(134, 52%, 51%)
HSVhsv(134, 67%, 76%)
CMYKcmyk(67%, 0%, 51.5%, 23.9%)
CIE-LABlab(69.81, -56.38, 39.90)
CIE-LCHlch(69.81, 69.08, 144.71°)
OKLaboklab(72.08% -0.152 0.0963)
OKLCHoklch(72.08% 0.18 147.7)
XYZxyz(23.4248, 40.4792, 17.1663)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C25E #C240A4
analogous
#63C240 #40C25E #40C29F
triadic
#40C25E #5E40C2 #C25E40
tetradic
#40C25E #4063C2 #C240A4 #C29F40
square
#40C25E #4063C2 #C240A4 #C29F40
split-complementary
#40C25E #9F40C2 #C24063
monochromatic
#216731 #309547 #40C25E #6ED185 #9DE0AC

Accessibility & contrast

On white

2.31
#40C25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#40C25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C25E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C25E#FFFFFF#000000##000000
##40C25E1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B155
Deuteranopia (green-blind)
#B4A665
Tritanopia (blue-blind)
#0ABEAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c25e;
/* rgb */ color: rgb(64, 194, 94);
/* oklch */ color: oklch(72.1% 0.180 147.7);
Tailwind
colors: {
  custom: {
    50: '#84d58e',
    500: '#40c25e',
    950: '#000000',
  },
}
SCSS
$custom: #40c25e;
$custom-light: #84d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c25e",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 133.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72078,
    "c": 0.17997,
    "h": 147.7
  },
  "luminance": 0.40482
}

Semantic roles & 50–950 ramp

primary
#40C25E
secondary
#CC92BE
accent
#4DBADB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C25E

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

Preview Lab → · Contrast checker → · Palette generator →

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