#40B94E#40B94E

#40B94E is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.182 H 145.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#40B94E
RGBrgb(64, 185, 78)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 65%, 73%)
CMYKcmyk(65.4%, 0%, 57.8%, 27.5%)
CIE-LABlab(66.78, -55.30, 43.93)
CIE-LCHlch(66.78, 70.63, 141.54°)
OKLaboklab(69.51% -0.1496 0.1041)
OKLCHoklch(69.51% 0.182 145.2)
XYZxyz(20.8371, 36.3358, 13.1217)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B94E #B940AB
analogous
#6FB940 #40B94E #40B98B
triadic
#40B94E #4E40B9 #B94E40
tetradic
#40B94E #406FB9 #B940AB #B98B40
square
#40B94E #406FB9 #B940AB #B98B40
split-complementary
#40B94E #8B40B9 #B9406F
monochromatic
#215E28 #308C3B #40B94E #6BCC76 #98DBA0

Accessibility & contrast

On white

2.54
#40B94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#40B94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B94E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B94E#FFFFFF#000000##000000
##40B94E1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA943
Deuteranopia (green-blind)
#AD9E56
Tritanopia (blue-blind)
#1FB4A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b94e;
/* rgb */ color: rgb(64, 185, 78);
/* oklch */ color: oklch(69.5% 0.182 145.2);
Tailwind
colors: {
  custom: {
    50: '#83cf83',
    500: '#40b94e',
    950: '#000000',
  },
}
SCSS
$custom: #40b94e;
$custom-light: #83cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b94e",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 126.942,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69511,
    "c": 0.18223,
    "h": 145.2
  },
  "luminance": 0.36338
}

Semantic roles & 50–950 ramp

primary
#40B94E
secondary
#C78EC1
accent
#50C8D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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