#40BA74#40BA74

#40BA74 is a light, vivid green. Relative luminance 0.375; OKLCH L 70.4% C 0.149 H 154.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#40BA74
RGBrgb(64, 186, 116)
HSLhsl(146, 49%, 49%)
HSVhsv(146, 66%, 73%)
CMYKcmyk(65.6%, 0%, 37.6%, 27.1%)
CIE-LABlab(67.63, -49.67, 25.86)
CIE-LCHlch(67.63, 56.00, 152.50°)
OKLaboklab(70.38% -0.1344 0.0647)
OKLCHoklch(70.38% 0.149 154.3)
XYZxyz(22.8237, 37.4663, 22.5485)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA74 #BA4086
analogous
#49BA40 #40BA74 #40BAB1
triadic
#40BA74 #7440BA #BA7440
tetradic
#40BA74 #4049BA #BA4086 #BAB140
square
#40BA74 #4049BA #BA4086 #BAB140
split-complementary
#40BA74 #B140BA #BA4049
monochromatic
#215F3B #308C58 #40BA74 #6BCC94 #99DCB5

Accessibility & contrast

On white

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

On black

8.49
#40BA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA74
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA74#FFFFFF#000000##000000
##40BA741.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6F
Deuteranopia (green-blind)
#AAA079
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40ba74;
/* rgb */ color: rgb(64, 186, 116);
/* oklch */ color: oklch(70.4% 0.149 154.3);
Tailwind
colors: {
  custom: {
    50: '#82d09c',
    500: '#40ba74',
    950: '#000000',
  },
}
SCSS
$custom: #40ba74;
$custom-light: #82d09c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba74",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 145.574,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70385,
    "c": 0.14915,
    "h": 154.3
  },
  "luminance": 0.37469
}

Semantic roles & 50–950 ramp

primary
#40BA74
secondary
#C88EAF
accent
#4F9ED8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40BA74

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

Preview Lab → · Contrast checker → · Palette generator →

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