#40BA3C#40BA3C

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

Color values

HEX#40BA3C
RGBrgb(64, 186, 60)
HSLhsl(118, 51%, 48%)
HSVhsv(118, 68%, 73%)
CMYKcmyk(65.6%, 0%, 67.7%, 27.1%)
CIE-LABlab(66.92, -57.64, 52.00)
CIE-LCHlch(66.92, 77.63, 137.94°)
OKLaboklab(69.58% -0.1567 0.1196)
OKLCHoklch(69.58% 0.197 142.7)
XYZxyz(20.4877, 36.5320, 10.2458)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA3C #B63CBA
analogous
#7FBA3C #40BA3C #3CBA77
triadic
#40BA3C #3C40BA #BA3C40
tetradic
#40BA3C #3C7FBA #B63CBA #BA773C
square
#40BA3C #3C7FBA #B63CBA #BA773C
split-complementary
#40BA3C #773CBA #BA3C7F
monochromatic
#205D1E #308C2D #40BA3C #69CE66 #96DC94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40ba3c;
/* rgb */ color: rgb(64, 186, 60);
/* oklch */ color: oklch(69.6% 0.197 142.7);
Tailwind
colors: {
  custom: {
    50: '#84d078',
    500: '#40ba3c',
    950: '#000000',
  },
}
SCSS
$custom: #40ba3c;
$custom-light: #84d078;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba3c",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 118.095,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69579,
    "c": 0.19713,
    "h": 142.7
  },
  "luminance": 0.36534
}

Semantic roles & 50–950 ramp

primary
#40BA3C
secondary
#C68AC8
accent
#4DDBD6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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