#40BA3D#40BA3D

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

Color values

HEX#40BA3D
RGBrgb(64, 186, 61)
HSLhsl(119, 51%, 48%)
HSVhsv(119, 67%, 73%)
CMYKcmyk(65.6%, 0%, 67.2%, 27.1%)
CIE-LABlab(66.93, -57.54, 51.60)
CIE-LCHlch(66.93, 77.29, 138.11°)
OKLaboklab(69.59% -0.1564 0.1188)
OKLCHoklch(69.59% 0.196 142.8)
XYZxyz(20.5144, 36.5426, 10.3863)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA3D #B73DBA
analogous
#7EBA3D #40BA3D #3DBA78
triadic
#40BA3D #3D40BA #BA3D40
tetradic
#40BA3D #3D7EBA #B73DBA #BA783D
square
#40BA3D #3D7EBA #B73DBA #BA783D
split-complementary
#40BA3D #783DBA #BA3D7E
monochromatic
#205E1F #308C2E #40BA3D #69CD67 #97DC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA3D#FFFFFF#000000##000000
##40BA3D1.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)
#BEA92C
Deuteranopia (green-blind)
#AF9F48
Tritanopia (blue-blind)
#25B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba3d;
/* rgb */ color: rgb(64, 186, 61);
/* oklch */ color: oklch(69.6% 0.196 142.8);
Tailwind
colors: {
  custom: {
    50: '#84d078',
    500: '#40ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #40ba3d;
$custom-light: #84d078;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba3d",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 118.56,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69588,
    "c": 0.19644,
    "h": 142.8
  },
  "luminance": 0.36545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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