#40BA4A#40BA4A

#40BA4A is a light, vivid green. Relative luminance 0.367; OKLCH L 69.7% C 0.187 H 144.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#40BA4A
RGBrgb(64, 186, 74)
HSLhsl(125, 49%, 49%)
HSVhsv(125, 66%, 73%)
CMYKcmyk(65.6%, 0%, 60.2%, 27.1%)
CIE-LABlab(67.05, -56.15, 46.09)
CIE-LCHlch(67.05, 72.65, 140.62°)
OKLaboklab(69.73% -0.152 0.1084)
OKLCHoklch(69.73% 0.187 144.5)
XYZxyz(20.9080, 36.7001, 12.4592)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA4A #BA40B0
analogous
#73BA40 #40BA4A #40BA87
triadic
#40BA4A #4A40BA #BA4A40
tetradic
#40BA4A #4073BA #BA40B0 #BA8740
square
#40BA4A #4073BA #BA40B0 #BA8740
split-complementary
#40BA4A #8740BA #BA4073
monochromatic
#215F26 #308C38 #40BA4A #6BCC73 #99DC9E

Accessibility & contrast

On white

2.52
#40BA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#40BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA4A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA4A#FFFFFF#000000##000000
##40BA4A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93E
Deuteranopia (green-blind)
#AE9F53
Tritanopia (blue-blind)
#20B5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba4a;
/* rgb */ color: rgb(64, 186, 74);
/* oklch */ color: oklch(69.7% 0.187 144.5);
Tailwind
colors: {
  custom: {
    50: '#84d080',
    500: '#40ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #40ba4a;
$custom-light: #84d080;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba4a",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 124.918,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69725,
    "c": 0.18674,
    "h": 144.5
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

primary
#40BA4A
secondary
#C88EC3
accent
#4FCDD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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