#40BA3E#40BA3E

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

Color values

HEX#40BA3E
RGBrgb(64, 186, 62)
HSLhsl(119, 50%, 49%)
HSVhsv(119, 67%, 73%)
CMYKcmyk(65.6%, 0%, 66.7%, 27.1%)
CIE-LABlab(66.94, -57.45, 51.20)
CIE-LCHlch(66.94, 76.95, 138.29°)
OKLaboklab(69.6% -0.1561 0.1181)
OKLCHoklch(69.6% 0.196 142.9)
XYZxyz(20.5416, 36.5535, 10.5295)
Luminance0.3656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA3E #B83EBA
analogous
#7EBA3E #40BA3E #3EBA7A
triadic
#40BA3E #3E40BA #BA3E40
tetradic
#40BA3E #3E7EBA #B83EBA #BA7A3E
square
#40BA3E #3E7EBA #B83EBA #BA7A3E
split-complementary
#40BA3E #7A3EBA #BA3E7E
monochromatic
#205E1F #308C2F #40BA3E #6ACD68 #97DC96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA3E#FFFFFF#000000##000000
##40BA3E1.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)
#BEA92E
Deuteranopia (green-blind)
#AF9F49
Tritanopia (blue-blind)
#25B5A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba3e;
/* rgb */ color: rgb(64, 186, 62);
/* oklch */ color: oklch(69.6% 0.196 142.9);
Tailwind
colors: {
  custom: {
    50: '#84d079',
    500: '#40ba3e',
    950: '#000000',
  },
}
SCSS
$custom: #40ba3e;
$custom-light: #84d079;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba3e",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 119.032,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69598,
    "c": 0.19575,
    "h": 142.9
  },
  "luminance": 0.36556
}

Semantic roles & 50–950 ramp

primary
#40BA3E
secondary
#C78CC8
accent
#4EDAD7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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