#40BA57#40BA57

#40BA57 is a light, vivid green. Relative luminance 0.369; OKLCH L 69.9% C 0.176 H 146.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#40BA57
RGBrgb(64, 186, 87)
HSLhsl(131, 49%, 49%)
HSVhsv(131, 66%, 73%)
CMYKcmyk(65.6%, 0%, 53.2%, 27.1%)
CIE-LABlab(67.20, -54.47, 40.13)
CIE-LCHlch(67.20, 67.65, 143.62°)
OKLaboklab(69.89% -0.147 0.0964)
OKLCHoklch(69.89% 0.176 146.8)
XYZxyz(21.3921, 36.8937, 15.0088)
Luminance0.3690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA57 #BA40A3
analogous
#66BA40 #40BA57 #40BA94
triadic
#40BA57 #5740BA #BA5740
tetradic
#40BA57 #4066BA #BA40A3 #BA9440
square
#40BA57 #4066BA #BA40A3 #BA9440
split-complementary
#40BA57 #9440BA #BA4066
monochromatic
#215F2C #308C42 #40BA57 #6BCC7D #99DCA5

Accessibility & contrast

On white

2.51
#40BA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#40BA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA57
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA57#FFFFFF#000000##000000
##40BA571.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA4E
Deuteranopia (green-blind)
#AD9F5E
Tritanopia (blue-blind)
#19B6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba57;
/* rgb */ color: rgb(64, 186, 87);
/* oklch */ color: oklch(69.9% 0.176 146.8);
Tailwind
colors: {
  custom: {
    50: '#83d089',
    500: '#40ba57',
    950: '#000000',
  },
}
SCSS
$custom: #40ba57;
$custom-light: #83d089;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba57",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 131.311,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69893,
    "c": 0.17582,
    "h": 146.8
  },
  "luminance": 0.36896
}

Semantic roles & 50–950 ramp

primary
#40BA57
secondary
#C88EBD
accent
#4FBFD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40BA57

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

Preview Lab → · Contrast checker → · Palette generator →

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