#40BA5E#40BA5E

#40BA5E is a light, vivid green. Relative luminance 0.370; OKLCH L 70.0% C 0.170 H 148.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#40BA5E
RGBrgb(64, 186, 94)
HSLhsl(135, 49%, 49%)
HSVhsv(135, 66%, 73%)
CMYKcmyk(65.6%, 0%, 49.5%, 27.1%)
CIE-LABlab(67.29, -53.44, 36.78)
CIE-LCHlch(67.29, 64.87, 145.46°)
OKLaboklab(70% -0.1441 0.0893)
OKLCHoklch(70% 0.17 148.2)
XYZxyz(21.6921, 37.0137, 16.5887)
Luminance0.3702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA5E #BA409C
analogous
#5FBA40 #40BA5E #40BA9B
triadic
#40BA5E #5E40BA #BA5E40
tetradic
#40BA5E #405FBA #BA409C #BA9B40
square
#40BA5E #405FBA #BA409C #BA9B40
split-complementary
#40BA5E #9B40BA #BA405F
monochromatic
#215F30 #308C47 #40BA5E #6BCC83 #99DCA9

Accessibility & contrast

On white

2.50
#40BA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#40BA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA5E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA5E#FFFFFF#000000##000000
##40BA5E1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA56
Deuteranopia (green-blind)
#ADA065
Tritanopia (blue-blind)
#13B6A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba5e;
/* rgb */ color: rgb(64, 186, 94);
/* oklch */ color: oklch(70.0% 0.170 148.2);
Tailwind
colors: {
  custom: {
    50: '#83d08d',
    500: '#40ba5e',
    950: '#000000',
  },
}
SCSS
$custom: #40ba5e;
$custom-light: #83d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba5e",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 134.754,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.16956,
    "h": 148.2
  },
  "luminance": 0.37016
}

Semantic roles & 50–950 ramp

primary
#40BA5E
secondary
#C88EBA
accent
#4FB7D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40BA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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