#40BA5D#40BA5D

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

Color values

HEX#40BA5D
RGBrgb(64, 186, 93)
HSLhsl(134, 49%, 49%)
HSVhsv(134, 66%, 73%)
CMYKcmyk(65.6%, 0%, 50%, 27.1%)
CIE-LABlab(67.27, -53.59, 37.26)
CIE-LCHlch(67.27, 65.27, 145.19°)
OKLaboklab(69.98% -0.1446 0.0903)
OKLCHoklch(69.98% 0.17 148)
XYZxyz(21.6475, 36.9959, 16.3539)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA5D #BA409D
analogous
#60BA40 #40BA5D #40BA9A
triadic
#40BA5D #5D40BA #BA5D40
tetradic
#40BA5D #4060BA #BA409D #BA9A40
square
#40BA5D #4060BA #BA409D #BA9A40
split-complementary
#40BA5D #9A40BA #BA4060
monochromatic
#215F2F #308C46 #40BA5D #6BCC82 #99DCA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA5D#FFFFFF#000000##000000
##40BA5D1.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)
#BCAA55
Deuteranopia (green-blind)
#ADA064
Tritanopia (blue-blind)
#14B6A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba5d;
/* rgb */ color: rgb(64, 186, 93);
/* oklch */ color: oklch(70.0% 0.170 148.0);
Tailwind
colors: {
  custom: {
    50: '#83d08d',
    500: '#40ba5d',
    950: '#000000',
  },
}
SCSS
$custom: #40ba5d;
$custom-light: #83d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba5d",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 134.262,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.17047,
    "h": 148
  },
  "luminance": 0.36998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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