#40C25C#40C25C

#40C25C is a light, vivid green. Relative luminance 0.404; OKLCH L 72.0% C 0.182 H 147.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#40C25C
RGBrgb(64, 194, 92)
HSLhsl(133, 52%, 51%)
HSVhsv(133, 67%, 76%)
CMYKcmyk(67%, 0%, 52.6%, 23.9%)
CIE-LABlab(69.78, -56.67, 40.85)
CIE-LCHlch(69.78, 69.86, 144.22°)
OKLaboklab(72.05% -0.1529 0.0983)
OKLCHoklch(72.05% 0.182 147.3)
XYZxyz(23.3362, 40.4438, 16.6997)
Luminance0.4045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C25C #C240A6
analogous
#65C240 #40C25C #40C29D
triadic
#40C25C #5C40C2 #C25C40
tetradic
#40C25C #4065C2 #C240A6 #C29D40
square
#40C25C #4065C2 #C240A6 #C29D40
split-complementary
#40C25C #9D40C2 #C24065
monochromatic
#216730 #309546 #40C25C #6ED184 #9DE0AB

Accessibility & contrast

On white

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

On black

9.09
#40C25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C25C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C25C#FFFFFF#000000##000000
##40C25C1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B153
Deuteranopia (green-blind)
#B4A664
Tritanopia (blue-blind)
#0CBEAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c25c;
/* rgb */ color: rgb(64, 194, 92);
/* oklch */ color: oklch(72.0% 0.182 147.3);
Tailwind
colors: {
  custom: {
    50: '#84d58c',
    500: '#40c25c',
    950: '#000000',
  },
}
SCSS
$custom: #40c25c;
$custom-light: #84d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c25c",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 92
  },
  "hsl": {
    "h": 132.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.18172,
    "h": 147.3
  },
  "luminance": 0.40446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C25C

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

Preview Lab → · Contrast checker → · Palette generator →

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