#40B15B#40B15B

#40B15B is a light, vivid green. Relative luminance 0.333; OKLCH L 67.6% C 0.160 H 148.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40B15B
RGBrgb(64, 177, 91)
HSLhsl(134, 47%, 47%)
HSVhsv(134, 64%, 69%)
CMYKcmyk(63.8%, 0%, 48.6%, 30.6%)
CIE-LABlab(64.39, -50.50, 34.67)
CIE-LCHlch(64.39, 61.26, 145.53°)
OKLaboklab(67.6% -0.1363 0.0844)
OKLCHoklch(67.6% 0.16 148.2)
XYZxyz(19.7234, 33.2876, 15.2812)
Luminance0.3329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B15B #B14096
analogous
#5EB140 #40B15B #40B193
triadic
#40B15B #5B40B1 #B15B40
tetradic
#40B15B #405EB1 #B14096 #B19340
square
#40B15B #405EB1 #B14096 #B19340
split-complementary
#40B15B #9340B1 #B1405E
monochromatic
#1F572D #308444 #40B15B #66C87E #93D8A4

Accessibility & contrast

On white

2.74
#40B15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#40B15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B15B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B15B#FFFFFF#000000##000000
##40B15B1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A254
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#1CAE9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b15b;
/* rgb */ color: rgb(64, 177, 91);
/* oklch */ color: oklch(67.6% 0.160 148.2);
Tailwind
colors: {
  custom: {
    50: '#81c98b',
    500: '#40b15b',
    950: '#000000',
  },
}
SCSS
$custom: #40b15b;
$custom-light: #81c98b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b15b",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 91
  },
  "hsl": {
    "h": 134.336,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67596,
    "c": 0.16033,
    "h": 148.2
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

primary
#40B15B
secondary
#C389B6
accent
#51B7D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B15B

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

Preview Lab → · Contrast checker → · Palette generator →

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