#40B94B#40B94B

#40B94B is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.185 H 144.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#40B94B
RGBrgb(64, 185, 75)
HSLhsl(125, 49%, 49%)
HSVhsv(125, 65%, 73%)
CMYKcmyk(65.4%, 0%, 59.5%, 27.5%)
CIE-LABlab(66.74, -55.67, 45.28)
CIE-LCHlch(66.74, 71.76, 140.88°)
OKLaboklab(69.47% -0.1507 0.1068)
OKLCHoklch(69.47% 0.185 144.7)
XYZxyz(20.7320, 36.2938, 12.5681)
Luminance0.3630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B94B #B940AE
analogous
#72B940 #40B94B #40B988
triadic
#40B94B #4B40B9 #B94B40
tetradic
#40B94B #4072B9 #B940AE #B98840
square
#40B94B #4072B9 #B940AE #B98840
split-complementary
#40B94B #8840B9 #B94072
monochromatic
#215E26 #308C39 #40B94B #6BCC73 #98DB9E

Accessibility & contrast

On white

2.54
#40B94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#40B94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B94B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B94B#FFFFFF#000000##000000
##40B94B1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA93F
Deuteranopia (green-blind)
#AD9E54
Tritanopia (blue-blind)
#20B4A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b94b;
/* rgb */ color: rgb(64, 185, 75);
/* oklch */ color: oklch(69.5% 0.185 144.7);
Tailwind
colors: {
  custom: {
    50: '#83cf81',
    500: '#40b94b',
    950: '#000000',
  },
}
SCSS
$custom: #40b94b;
$custom-light: #83cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b94b",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 125.455,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69474,
    "c": 0.18468,
    "h": 144.7
  },
  "luminance": 0.36296
}

Semantic roles & 50–950 ramp

primary
#40B94B
secondary
#C78EC2
accent
#50CCD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B94B

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

Preview Lab → · Contrast checker → · Palette generator →

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