#40B151#40B151

#40B151 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.169 H 146.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40B151
RGBrgb(64, 177, 81)
HSLhsl(129, 47%, 47%)
HSVhsv(129, 64%, 69%)
CMYKcmyk(63.8%, 0%, 54.2%, 30.6%)
CIE-LABlab(64.26, -51.97, 39.50)
CIE-LCHlch(64.26, 65.28, 142.76°)
OKLaboklab(67.45% -0.1405 0.0946)
OKLCHoklch(67.45% 0.169 146)
XYZxyz(19.3204, 33.1264, 13.1588)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B151 #B140A0
analogous
#67B140 #40B151 #40B18A
triadic
#40B151 #5140B1 #B15140
tetradic
#40B151 #4067B1 #B140A0 #B18A40
square
#40B151 #4067B1 #B140A0 #B18A40
split-complementary
#40B151 #8A40B1 #B14067
monochromatic
#1F5728 #30843C #40B151 #66C875 #93D89E

Accessibility & contrast

On white

2.75
#40B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B151
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B151#FFFFFF#000000##000000
##40B1511.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A248
Deuteranopia (green-blind)
#A59858
Tritanopia (blue-blind)
#22AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b151;
/* rgb */ color: rgb(64, 177, 81);
/* oklch */ color: oklch(67.4% 0.169 146.0);
Tailwind
colors: {
  custom: {
    50: '#82c984',
    500: '#40b151',
    950: '#000000',
  },
}
SCSS
$custom: #40b151;
$custom-light: #82c984;
$custom-dark: #000000;
JSON
{
  "hex": "#40b151",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 129.027,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.16938,
    "h": 146
  },
  "luminance": 0.33128
}

Semantic roles & 50–950 ramp

primary
#40B151
secondary
#C389BB
accent
#51C2D7
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40B151

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

Preview Lab → · Contrast checker → · Palette generator →

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