#40C25F#40C25F

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

Color values

HEX#40C25F
RGBrgb(64, 194, 95)
HSLhsl(134, 52%, 51%)
HSVhsv(134, 67%, 76%)
CMYKcmyk(67%, 0%, 51%, 23.9%)
CIE-LABlab(69.82, -56.24, 39.43)
CIE-LCHlch(69.82, 68.68, 144.97°)
OKLaboklab(72.09% -0.1516 0.0953)
OKLCHoklch(72.09% 0.179 147.9)
XYZxyz(23.4700, 40.4973, 17.4041)
Luminance0.4050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C25F #C240A3
analogous
#62C240 #40C25F #40C2A0
triadic
#40C25F #5F40C2 #C25F40
tetradic
#40C25F #4062C2 #C240A3 #C2A040
square
#40C25F #4062C2 #C240A3 #C2A040
split-complementary
#40C25F #A040C2 #C24062
monochromatic
#216732 #309548 #40C25F #6ED186 #9DE0AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C25F#FFFFFF#000000##000000
##40C25F1.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)
#C4B157
Deuteranopia (green-blind)
#B4A666
Tritanopia (blue-blind)
#08BEAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c25f;
/* rgb */ color: rgb(64, 194, 95);
/* oklch */ color: oklch(72.1% 0.179 147.9);
Tailwind
colors: {
  custom: {
    50: '#84d58e',
    500: '#40c25f',
    950: '#000000',
  },
}
SCSS
$custom: #40c25f;
$custom-light: #84d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c25f",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 134.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72093,
    "c": 0.17909,
    "h": 147.9
  },
  "luminance": 0.405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C25F

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

Preview Lab → · Contrast checker → · Palette generator →

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