#40B952#40B952

#40B952 is a light, vivid green. Relative luminance 0.364; OKLCH L 69.6% C 0.179 H 145.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#40B952
RGBrgb(64, 185, 82)
HSLhsl(129, 49%, 49%)
HSVhsv(129, 65%, 73%)
CMYKcmyk(65.4%, 0%, 55.7%, 27.5%)
CIE-LABlab(66.82, -54.79, 42.09)
CIE-LCHlch(66.82, 69.09, 142.47°)
OKLaboklab(69.56% -0.148 0.1004)
OKLCHoklch(69.56% 0.179 145.9)
XYZxyz(20.9849, 36.3950, 13.9000)
Luminance0.3640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B952 #B940A7
analogous
#6BB940 #40B952 #40B98F
triadic
#40B952 #5240B9 #B95240
tetradic
#40B952 #406BB9 #B940A7 #B98F40
square
#40B952 #406BB9 #B940A7 #B98F40
split-complementary
#40B952 #8F40B9 #B9406B
monochromatic
#215E2A #308C3E #40B952 #6BCC79 #98DBA2

Accessibility & contrast

On white

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

On black

8.28
#40B952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B952
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B952#FFFFFF#000000##000000
##40B9521.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA948
Deuteranopia (green-blind)
#AD9F5A
Tritanopia (blue-blind)
#1DB5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b952;
/* rgb */ color: rgb(64, 185, 82);
/* oklch */ color: oklch(69.6% 0.179 145.9);
Tailwind
colors: {
  custom: {
    50: '#83cf85',
    500: '#40b952',
    950: '#000000',
  },
}
SCSS
$custom: #40b952;
$custom-light: #83cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b952",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 128.926,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.17886,
    "h": 145.9
  },
  "luminance": 0.36397
}

Semantic roles & 50–950 ramp

primary
#40B952
secondary
#C78EBF
accent
#50C4D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B952

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

Preview Lab → · Contrast checker → · Palette generator →

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