#40B137#40B137

#40B137 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.2% C 0.190 H 142.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#40B137
RGBrgb(64, 177, 55)
HSLhsl(116, 53%, 45%)
HSVhsv(116, 69%, 69%)
CMYKcmyk(63.8%, 0%, 68.9%, 30.6%)
CIE-LABlab(64.01, -54.95, 50.92)
CIE-LCHlch(64.01, 74.92, 137.18°)
OKLaboklab(67.15% -0.1497 0.1167)
OKLCHoklch(67.15% 0.19 142.1)
XYZxyz(18.5251, 32.8083, 8.9701)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B137 #A837B1
analogous
#7DB137 #40B137 #37B16B
triadic
#40B137 #3740B1 #B13740
tetradic
#40B137 #377DB1 #A837B1 #B16B37
square
#40B137 #377DB1 #A837B1 #B16B37
split-complementary
#40B137 #6B37B1 #B1377D
monochromatic
#1E541A #2F8228 #40B137 #62CC5A #8EDA88

Accessibility & contrast

On white

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

On black

7.56
#40B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B137
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B137#FFFFFF#000000##000000
##40B1371.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A125
Deuteranopia (green-blind)
#A79842
Tritanopia (blue-blind)
#2BAC98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b137;
/* rgb */ color: rgb(64, 177, 55);
/* oklch */ color: oklch(67.2% 0.190 142.1);
Tailwind
colors: {
  custom: {
    50: '#83c974',
    500: '#40b137',
    950: '#000000',
  },
}
SCSS
$custom: #40b137;
$custom-light: #83c974;
$custom-dark: #000000;
JSON
{
  "hex": "#40b137",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 115.574,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.18982,
    "h": 142.1
  },
  "luminance": 0.3281
}

Semantic roles & 50–950 ramp

primary
#40B137
secondary
#BF80C4
accent
#4CDCD1
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B137

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

Preview Lab → · Contrast checker → · Palette generator →

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