#40B950#40B950

#40B950 is a light, vivid green. Relative luminance 0.364; OKLCH L 69.5% C 0.181 H 145.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#40B950
RGBrgb(64, 185, 80)
HSLhsl(128, 49%, 49%)
HSVhsv(128, 65%, 73%)
CMYKcmyk(65.4%, 0%, 56.8%, 27.5%)
CIE-LABlab(66.80, -55.05, 43.01)
CIE-LCHlch(66.80, 69.86, 142.00°)
OKLaboklab(69.54% -0.1488 0.1022)
OKLCHoklch(69.54% 0.181 145.5)
XYZxyz(20.9099, 36.3650, 13.5050)
Luminance0.3637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B950 #B940A9
analogous
#6DB940 #40B950 #40B98D
triadic
#40B950 #5040B9 #B95040
tetradic
#40B950 #406DB9 #B940A9 #B98D40
square
#40B950 #406DB9 #B940A9 #B98D40
split-complementary
#40B950 #8D40B9 #B9406D
monochromatic
#215E29 #308C3C #40B950 #6BCC77 #98DBA1

Accessibility & contrast

On white

2.54
#40B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#40B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B950
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B950#FFFFFF#000000##000000
##40B9501.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA946
Deuteranopia (green-blind)
#AD9F58
Tritanopia (blue-blind)
#1EB5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b950;
/* rgb */ color: rgb(64, 185, 80);
/* oklch */ color: oklch(69.5% 0.181 145.5);
Tailwind
colors: {
  custom: {
    50: '#83cf84',
    500: '#40b950',
    950: '#000000',
  },
}
SCSS
$custom: #40b950;
$custom-light: #83cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b950",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 127.934,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.18056,
    "h": 145.5
  },
  "luminance": 0.36367
}

Semantic roles & 50–950 ramp

primary
#40B950
secondary
#C78EC0
accent
#50C6D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B950

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

Preview Lab → · Contrast checker → · Palette generator →

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