#40C45F#40C45F

#40C45F is a light, vivid green. Relative luminance 0.414; OKLCH L 72.6% C 0.182 H 147.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#40C45F
RGBrgb(64, 196, 95)
HSLhsl(134, 53%, 51%)
HSVhsv(134, 67%, 77%)
CMYKcmyk(67.3%, 0%, 51.5%, 23.1%)
CIE-LABlab(70.45, -56.96, 40.20)
CIE-LCHlch(70.45, 69.72, 144.79°)
OKLaboklab(72.61% -0.1536 0.097)
OKLCHoklch(72.61% 0.182 147.7)
XYZxyz(23.9181, 41.3935, 17.5535)
Luminance0.4140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C45F #C440A5
analogous
#63C440 #40C45F #40C4A1
triadic
#40C45F #5F40C4 #C45F40
tetradic
#40C45F #4063C4 #C440A5 #C4A140
square
#40C45F #4063C4 #C440A5 #C4A140
split-complementary
#40C45F #A140C4 #C44063
monochromatic
#206932 #2F9848 #40C45F #6FD286 #9EE1AD

Accessibility & contrast

On white

2.26
#40C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#40C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C45F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C45F#FFFFFF#000000##000000
##40C45F1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B356
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#05C0AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c45f;
/* rgb */ color: rgb(64, 196, 95);
/* oklch */ color: oklch(72.6% 0.182 147.7);
Tailwind
colors: {
  custom: {
    50: '#85d78e',
    500: '#40c45f',
    950: '#000000',
  },
}
SCSS
$custom: #40c45f;
$custom-light: #85d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c45f",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 134.091,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72612,
    "c": 0.18165,
    "h": 147.7
  },
  "luminance": 0.41396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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