#40B147#40B147

#40B147 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.3% C 0.178 H 144.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#40B147
RGBrgb(64, 177, 71)
HSLhsl(124, 47%, 47%)
HSVhsv(124, 64%, 69%)
CMYKcmyk(63.8%, 0%, 59.9%, 30.6%)
CIE-LABlab(64.15, -53.26, 44.13)
CIE-LCHlch(64.15, 69.17, 140.36°)
OKLaboklab(67.32% -0.1443 0.1039)
OKLCHoklch(67.32% 0.178 144.2)
XYZxyz(18.9727, 32.9873, 11.3274)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B147 #B140AA
analogous
#71B140 #40B147 #40B180
triadic
#40B147 #4740B1 #B14740
tetradic
#40B147 #4071B1 #B140AA #B18040
square
#40B147 #4071B1 #B140AA #B18040
split-complementary
#40B147 #8040B1 #B14071
monochromatic
#1F5723 #308435 #40B147 #66C86C #93D898

Accessibility & contrast

On white

2.76
#40B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#40B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B147
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B147#FFFFFF#000000##000000
##40B1471.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13C
Deuteranopia (green-blind)
#A69850
Tritanopia (blue-blind)
#26AC9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b147;
/* rgb */ color: rgb(64, 177, 71);
/* oklch */ color: oklch(67.3% 0.178 144.2);
Tailwind
colors: {
  custom: {
    50: '#82c97e',
    500: '#40b147',
    950: '#000000',
  },
}
SCSS
$custom: #40b147;
$custom-light: #82c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b147",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 123.717,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.17786,
    "h": 144.2
  },
  "luminance": 0.32989
}

Semantic roles & 50–950 ramp

primary
#40B147
secondary
#C389C0
accent
#51CED7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B147

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

Preview Lab → · Contrast checker → · Palette generator →

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