#40BA78#40BA78

#40BA78 is a light, vivid green. Relative luminance 0.376; OKLCH L 70.5% C 0.145 H 155.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#40BA78
RGBrgb(64, 186, 120)
HSLhsl(148, 49%, 49%)
HSVhsv(148, 66%, 73%)
CMYKcmyk(65.6%, 0%, 35.5%, 27.1%)
CIE-LABlab(67.70, -48.90, 23.83)
CIE-LCHlch(67.70, 54.40, 154.02°)
OKLaboklab(70.47% -0.1325 0.0599)
OKLCHoklch(70.47% 0.145 155.7)
XYZxyz(23.0614, 37.5614, 23.8004)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA78 #BA4082
analogous
#45BA40 #40BA78 #40BAB5
triadic
#40BA78 #7840BA #BA7840
tetradic
#40BA78 #4045BA #BA4082 #BAB540
square
#40BA78 #4045BA #BA4082 #BAB540
split-complementary
#40BA78 #B540BA #BA4045
monochromatic
#215F3D #308C5B #40BA78 #6BCC98 #99DCB7

Accessibility & contrast

On white

2.47
#40BA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#40BA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA78
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA78#FFFFFF#000000##000000
##40BA781.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AC74
Deuteranopia (green-blind)
#A9A07C
Tritanopia (blue-blind)
#00B8A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40ba78;
/* rgb */ color: rgb(64, 186, 120);
/* oklch */ color: oklch(70.5% 0.145 155.7);
Tailwind
colors: {
  custom: {
    50: '#82d09f',
    500: '#40ba78',
    950: '#000000',
  },
}
SCSS
$custom: #40ba78;
$custom-light: #82d09f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba78",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 120
  },
  "hsl": {
    "h": 147.541,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.14544,
    "h": 155.7
  },
  "luminance": 0.37564
}

Semantic roles & 50–950 ramp

primary
#40BA78
secondary
#C88EAD
accent
#4F9AD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40BA78

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

Preview Lab → · Contrast checker → · Palette generator →

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