#40C145#40C145

#40C145 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.5% C 0.199 H 143.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#40C145
RGBrgb(64, 193, 69)
HSLhsl(122, 51%, 50%)
HSVhsv(122, 67%, 76%)
CMYKcmyk(66.8%, 0%, 64.2%, 24.3%)
CIE-LABlab(69.22, -59.16, 50.76)
CIE-LCHlch(69.22, 77.95, 139.37°)
OKLaboklab(71.51% -0.1604 0.1179)
OKLCHoklch(71.51% 0.199 143.7)
XYZxyz(22.2571, 39.6573, 12.1107)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C145 #C140BC
analogous
#7BC140 #40C145 #40C186
triadic
#40C145 #4540C1 #C14540
tetradic
#40C145 #407BC1 #C140BC #C18640
square
#40C145 #407BC1 #C140BC #C18640
split-complementary
#40C145 #8640C1 #C1407B
monochromatic
#216624 #309434 #40C145 #6ED072 #9CDF9F

Accessibility & contrast

On white

2.35
#40C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#40C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C145
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C145#FFFFFF#000000##000000
##40C1451.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF36
Deuteranopia (green-blind)
#B5A550
Tritanopia (blue-blind)
#1EBCA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c145;
/* rgb */ color: rgb(64, 193, 69);
/* oklch */ color: oklch(71.5% 0.199 143.7);
Tailwind
colors: {
  custom: {
    50: '#85d57e',
    500: '#40c145',
    950: '#000000',
  },
}
SCSS
$custom: #40c145;
$custom-light: #85d57e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c145",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 122.326,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.19908,
    "h": 143.7
  },
  "luminance": 0.3966
}

Semantic roles & 50–950 ramp

primary
#40C145
secondary
#CB92C9
accent
#4DD5DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C145

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

Preview Lab → · Contrast checker → · Palette generator →

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