#40B837#40B837

#40B837 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.0% C 0.198 H 142.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#40B837
RGBrgb(64, 184, 55)
HSLhsl(116, 54%, 47%)
HSVhsv(116, 70%, 72%)
CMYKcmyk(65.2%, 0%, 70.1%, 27.8%)
CIE-LABlab(66.25, -57.40, 53.28)
CIE-LCHlch(66.25, 78.32, 137.13°)
OKLaboklab(69.01% -0.1563 0.1216)
OKLCHoklch(69.01% 0.198 142.1)
XYZxyz(19.9433, 35.6448, 9.4428)
Luminance0.3565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B837 #AF37B8
analogous
#81B837 #40B837 #37B86F
triadic
#40B837 #3740B8 #B83740
tetradic
#40B837 #3781B8 #AF37B8 #B86F37
square
#40B837 #3781B8 #AF37B8 #B86F37
split-complementary
#40B837 #6F37B8 #B83781
monochromatic
#1F5A1B #308929 #40B837 #65CF5D #92DD8D

Accessibility & contrast

On white

2.58
#40B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#40B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B837
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B837#FFFFFF#000000##000000
##40B8371.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA723
Deuteranopia (green-blind)
#AE9D44
Tritanopia (blue-blind)
#28B29E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b837;
/* rgb */ color: rgb(64, 184, 55);
/* oklch */ color: oklch(69.0% 0.198 142.1);
Tailwind
colors: {
  custom: {
    50: '#84ce75',
    500: '#40b837',
    950: '#000000',
  },
}
SCSS
$custom: #40b837;
$custom-light: #84ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#40b837",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 115.814,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69006,
    "c": 0.19809,
    "h": 142.1
  },
  "luminance": 0.35647
}

Semantic roles & 50–950 ramp

primary
#40B837
secondary
#C384C7
accent
#4ADDD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B837

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

Preview Lab → · Contrast checker → · Palette generator →

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