#40BA79#40BA79

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

Color values

HEX#40BA79
RGBrgb(64, 186, 121)
HSLhsl(148, 49%, 49%)
HSVhsv(148, 66%, 73%)
CMYKcmyk(65.6%, 0%, 34.9%, 27.1%)
CIE-LABlab(67.71, -48.71, 23.32)
CIE-LCHlch(67.71, 54.00, 154.42°)
OKLaboklab(70.49% -0.1321 0.0587)
OKLCHoklch(70.49% 0.145 156.1)
XYZxyz(23.1224, 37.5858, 24.1217)
Luminance0.3759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA79 #BA4081
analogous
#44BA40 #40BA79 #40BAB6
triadic
#40BA79 #7940BA #BA7940
tetradic
#40BA79 #4044BA #BA4081 #BAB640
square
#40BA79 #4044BA #BA4081 #BAB640
split-complementary
#40BA79 #B640BA #BA4044
monochromatic
#215F3E #308C5B #40BA79 #6BCC98 #99DCB8

Accessibility & contrast

On white

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

On black

8.52
#40BA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA79
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA79#FFFFFF#000000##000000
##40BA791.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ba79;
/* rgb */ color: rgb(64, 186, 121);
/* oklch */ color: oklch(70.5% 0.145 156.1);
Tailwind
colors: {
  custom: {
    50: '#82d0a0',
    500: '#40ba79',
    950: '#000000',
  },
}
SCSS
$custom: #40ba79;
$custom-light: #82d0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba79",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 121
  },
  "hsl": {
    "h": 148.033,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70487,
    "c": 0.14452,
    "h": 156.1
  },
  "luminance": 0.37588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BA79

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

Preview Lab → · Contrast checker → · Palette generator →

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