#40B15F#40B15F

#40B15F is a light, vivid green. Relative luminance 0.334; OKLCH L 67.7% C 0.157 H 149.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40B15F
RGBrgb(64, 177, 95)
HSLhsl(136, 47%, 47%)
HSVhsv(136, 64%, 69%)
CMYKcmyk(63.8%, 0%, 46.3%, 30.6%)
CIE-LABlab(64.45, -49.87, 32.70)
CIE-LCHlch(64.45, 59.63, 146.75°)
OKLaboklab(67.66% -0.1346 0.0801)
OKLCHoklch(67.66% 0.157 149.3)
XYZxyz(19.9006, 33.3585, 16.2143)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B15F #B14092
analogous
#5AB140 #40B15F #40B198
triadic
#40B15F #5F40B1 #B15F40
tetradic
#40B15F #405AB1 #B14092 #B19840
square
#40B15F #405AB1 #B14092 #B19840
split-complementary
#40B15F #9840B1 #B1405A
monochromatic
#1F572F #308447 #40B15F #66C881 #93D8A6

Accessibility & contrast

On white

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

On black

7.67
#40B15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B15F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B15F#FFFFFF#000000##000000
##40B15F1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A259
Deuteranopia (green-blind)
#A49865
Tritanopia (blue-blind)
#1AAE9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b15f;
/* rgb */ color: rgb(64, 177, 95);
/* oklch */ color: oklch(67.7% 0.157 149.3);
Tailwind
colors: {
  custom: {
    50: '#81c98d',
    500: '#40b15f',
    950: '#000000',
  },
}
SCSS
$custom: #40b15f;
$custom-light: #81c98d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b15f",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 95
  },
  "hsl": {
    "h": 136.46,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.1566,
    "h": 149.3
  },
  "luminance": 0.3336
}

Semantic roles & 50–950 ramp

primary
#40B15F
secondary
#C389B4
accent
#51B2D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B15F

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

Preview Lab → · Contrast checker → · Palette generator →

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