#40B939#40B939

#40B939 is a light, vivid green. Relative luminance 0.361; OKLCH L 69.3% C 0.198 H 142.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#40B939
RGBrgb(64, 185, 57)
HSLhsl(117, 53%, 47%)
HSVhsv(117, 69%, 73%)
CMYKcmyk(65.4%, 0%, 69.2%, 27.5%)
CIE-LABlab(66.58, -57.57, 52.84)
CIE-LCHlch(66.58, 78.15, 137.45°)
OKLaboklab(69.29% -0.1567 0.121)
OKLCHoklch(69.29% 0.198 142.3)
XYZxyz(20.2007, 36.0813, 9.7699)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B939 #B239B9
analogous
#80B939 #40B939 #39B972
triadic
#40B939 #3940B9 #B93940
tetradic
#40B939 #3980B9 #B239B9 #B97239
square
#40B939 #3980B9 #B239B9 #B97239
split-complementary
#40B939 #7239B9 #B93980
monochromatic
#205B1C #308A2B #40B939 #67CE61 #94DD90

Accessibility & contrast

On white

2.56
#40B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#40B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B939
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B939#FFFFFF#000000##000000
##40B9391.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#AF9E45
Tritanopia (blue-blind)
#26B49F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b939;
/* rgb */ color: rgb(64, 185, 57);
/* oklch */ color: oklch(69.3% 0.198 142.3);
Tailwind
colors: {
  custom: {
    50: '#84cf76',
    500: '#40b939',
    950: '#000000',
  },
}
SCSS
$custom: #40b939;
$custom-light: #84cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#40b939",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 116.719,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.19796,
    "h": 142.3
  },
  "luminance": 0.36083
}

Semantic roles & 50–950 ramp

primary
#40B939
secondary
#C486C8
accent
#4BDCD4
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B939

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

Preview Lab → · Contrast checker → · Palette generator →

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