#40BA7C#40BA7C

#40BA7C is a light, vivid green. Relative luminance 0.377; OKLCH L 70.6% C 0.142 H 157.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#40BA7C
RGBrgb(64, 186, 124)
HSLhsl(150, 49%, 49%)
HSVhsv(150, 66%, 73%)
CMYKcmyk(65.6%, 0%, 33.3%, 27.1%)
CIE-LABlab(67.77, -48.11, 21.79)
CIE-LCHlch(67.77, 52.81, 155.63°)
OKLaboklab(70.55% -0.1307 0.055)
OKLCHoklch(70.55% 0.142 157.2)
XYZxyz(23.3092, 37.6606, 25.1057)
Luminance0.3766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA7C #BA407E
analogous
#41BA40 #40BA7C #40BAB9
triadic
#40BA7C #7C40BA #BA7C40
tetradic
#40BA7C #4041BA #BA407E #BAB940
square
#40BA7C #4041BA #BA407E #BAB940
split-complementary
#40BA7C #B940BA #BA4041
monochromatic
#215F3F #308C5E #40BA7C #6BCC9B #99DCBA

Accessibility & contrast

On white

2.46
#40BA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#40BA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA7C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA7C#FFFFFF#000000##000000
##40BA7C1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AC78
Deuteranopia (green-blind)
#A9A180
Tritanopia (blue-blind)
#00B9AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40ba7c;
/* rgb */ color: rgb(64, 186, 124);
/* oklch */ color: oklch(70.6% 0.142 157.2);
Tailwind
colors: {
  custom: {
    50: '#82d0a2',
    500: '#40ba7c',
    950: '#000000',
  },
}
SCSS
$custom: #40ba7c;
$custom-light: #82d0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba7c",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 124
  },
  "hsl": {
    "h": 149.508,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70551,
    "c": 0.14177,
    "h": 157.2
  },
  "luminance": 0.37663
}

Semantic roles & 50–950 ramp

primary
#40BA7C
secondary
#C88EAB
accent
#4F95D8
background
#F8FCFA
surface
#F0F9F3
border
#CBD2CD
text
#0C140F
muted
#7D827F

Preview Lab

Preview with #40BA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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