#40BF45#40BF45

#40BF45 is a light, vivid green. Relative luminance 0.388; OKLCH L 71.0% C 0.197 H 143.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#40BF45
RGBrgb(64, 191, 69)
HSLhsl(122, 50%, 50%)
HSVhsv(122, 66%, 75%)
CMYKcmyk(66.5%, 0%, 63.9%, 25.1%)
CIE-LABlab(68.59, -58.47, 50.05)
CIE-LCHlch(68.59, 76.97, 139.44°)
OKLaboklab(70.98% -0.1585 0.1164)
OKLCHoklch(70.98% 0.197 143.7)
XYZxyz(21.8180, 38.7790, 11.9644)
Luminance0.3878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF45 #BF40BA
analogous
#7BBF40 #40BF45 #40BF84
triadic
#40BF45 #4540BF #BF4540
tetradic
#40BF45 #407BBF #BF40BA #BF8440
square
#40BF45 #407BBF #BF40BA #BF8440
split-complementary
#40BF45 #8440BF #BF407B
monochromatic
#216324 #319134 #40BF45 #6ECE72 #9CDE9E

Accessibility & contrast

On white

2.40
#40BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#40BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF45
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF45#FFFFFF#000000##000000
##40BF451.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE36
Deuteranopia (green-blind)
#B4A350
Tritanopia (blue-blind)
#1FBAA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf45;
/* rgb */ color: rgb(64, 191, 69);
/* oklch */ color: oklch(71.0% 0.197 143.7);
Tailwind
colors: {
  custom: {
    50: '#85d37e',
    500: '#40bf45',
    950: '#000000',
  },
}
SCSS
$custom: #40bf45;
$custom-light: #85d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf45",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 122.362,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.70983,
    "c": 0.19669,
    "h": 143.7
  },
  "luminance": 0.38781
}

Semantic roles & 50–950 ramp

primary
#40BF45
secondary
#CA91C8
accent
#4ED4D9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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