#40BA3F#40BA3F

#40BA3F is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.195 H 143.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#40BA3F
RGBrgb(64, 186, 63)
HSLhsl(120, 49%, 49%)
HSVhsv(120, 66%, 73%)
CMYKcmyk(65.6%, 0%, 66.1%, 27.1%)
CIE-LABlab(66.95, -57.35, 50.79)
CIE-LCHlch(66.95, 76.61, 138.47°)
OKLaboklab(69.61% -0.1558 0.1174)
OKLCHoklch(69.61% 0.195 143)
XYZxyz(20.5693, 36.5646, 10.6753)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA3F #B93FBA
analogous
#7EBA3F #40BA3F #3FBA7C
triadic
#40BA3F #3F40BA #BA3F40
tetradic
#40BA3F #3F7EBA #B93FBA #BA7C3F
square
#40BA3F #3F7EBA #B93FBA #BA7C3F
split-complementary
#40BA3F #7C3FBA #BA3F7E
monochromatic
#215F20 #308C30 #40BA3F #6BCC6A #98DC97

Accessibility & contrast

On white

2.53
#40BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#40BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA3F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA3F#FFFFFF#000000##000000
##40BA3F1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#24B5A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba3f;
/* rgb */ color: rgb(64, 186, 63);
/* oklch */ color: oklch(69.6% 0.195 143.0);
Tailwind
colors: {
  custom: {
    50: '#84d07a',
    500: '#40ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #40ba3f;
$custom-light: #84d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba3f",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 119.512,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.19504,
    "h": 143
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#40BA3F
secondary
#C78DC8
accent
#4FD9D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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