#40B937#40B937

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

Color values

HEX#40B937
RGBrgb(64, 185, 55)
HSLhsl(116, 54%, 47%)
HSVhsv(116, 70%, 73%)
CMYKcmyk(65.4%, 0%, 70.3%, 27.5%)
CIE-LABlab(66.57, -57.75, 53.61)
CIE-LCHlch(66.57, 78.80, 137.13°)
OKLaboklab(69.27% -0.1573 0.1223)
OKLCHoklch(69.27% 0.199 142.1)
XYZxyz(20.1518, 36.0617, 9.5123)
Luminance0.3606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B937 #B037B9
analogous
#81B937 #40B937 #37B96F
triadic
#40B937 #3740B9 #B93740
tetradic
#40B937 #3781B9 #B037B9 #B96F37
square
#40B937 #3781B9 #B037B9 #B96F37
split-complementary
#40B937 #6F37B9 #B93781
monochromatic
#1F5B1B #308A29 #40B937 #66CF5E #93DD8D

Accessibility & contrast

On white

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

On black

8.21
#40B937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B937
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B937#FFFFFF#000000##000000
##40B9371.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#AF9E44
Tritanopia (blue-blind)
#27B39F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b937;
/* rgb */ color: rgb(64, 185, 55);
/* oklch */ color: oklch(69.3% 0.199 142.1);
Tailwind
colors: {
  custom: {
    50: '#84cf75',
    500: '#40b937',
    950: '#000000',
  },
}
SCSS
$custom: #40b937;
$custom-light: #84cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#40b937",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 115.846,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69271,
    "c": 0.19926,
    "h": 142.1
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

primary
#40B937
secondary
#C384C8
accent
#4ADED3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B937

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

Preview Lab → · Contrast checker → · Palette generator →

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