#40B050#40B050

#40B050 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.2% C 0.169 H 145.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40B050
RGBrgb(64, 176, 80)
HSLhsl(129, 47%, 47%)
HSVhsv(129, 64%, 69%)
CMYKcmyk(63.6%, 0%, 54.5%, 31%)
CIE-LABlab(63.93, -51.74, 39.59)
CIE-LCHlch(63.93, 65.15, 142.58°)
OKLaboklab(67.17% -0.1399 0.0947)
OKLCHoklch(67.17% 0.169 145.9)
XYZxyz(19.0864, 32.7179, 12.8972)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B050 #B040A0
analogous
#68B040 #40B050 #40B088
triadic
#40B050 #5040B0 #B05040
tetradic
#40B050 #4068B0 #B040A0 #B08840
square
#40B050 #4068B0 #B040A0 #B08840
split-complementary
#40B050 #8840B0 #B04068
monochromatic
#1F5627 #30833C #40B050 #66C774 #93D89D

Accessibility & contrast

On white

2.78
#40B050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#40B050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B050
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B050#FFFFFF#000000##000000
##40B0501.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A147
Deuteranopia (green-blind)
#A59757
Tritanopia (blue-blind)
#23AC9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b050;
/* rgb */ color: rgb(64, 176, 80);
/* oklch */ color: oklch(67.2% 0.169 145.9);
Tailwind
colors: {
  custom: {
    50: '#81c883',
    500: '#40b050',
    950: '#000000',
  },
}
SCSS
$custom: #40b050;
$custom-light: #81c883;
$custom-dark: #000000;
JSON
{
  "hex": "#40b050",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 128.571,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.6717,
    "c": 0.16894,
    "h": 145.9
  },
  "luminance": 0.3272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B050

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

Preview Lab → · Contrast checker → · Palette generator →

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