#40AC37#40AC37

#40AC37 is a light, vivid green. Relative luminance 0.309; OKLCH L 65.8% C 0.184 H 142.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#40AC37
RGBrgb(64, 172, 55)
HSLhsl(115, 52%, 45%)
HSVhsv(115, 68%, 67%)
CMYKcmyk(62.8%, 0%, 68%, 32.5%)
CIE-LABlab(62.40, -53.17, 49.20)
CIE-LCHlch(62.40, 72.44, 137.22°)
OKLaboklab(65.82% -0.1449 0.1131)
OKLCHoklch(65.82% 0.184 142)
XYZxyz(17.5555, 30.8692, 8.6469)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC37 #A337AC
analogous
#7AAC37 #40AC37 #37AC69
triadic
#40AC37 #3740AC #AC3740
tetradic
#40AC37 #377AAC #A337AC #AC6937
square
#40AC37 #377AAC #A337AC #AC6937
split-complementary
#40AC37 #6937AC #AC377A
monochromatic
#1D4F19 #2F7E28 #40AC37 #60C957 #8CD885

Accessibility & contrast

On white

2.93
#40AC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#40AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC37
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC37#FFFFFF#000000##000000
##40AC371.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C27
Deuteranopia (green-blind)
#A39342
Tritanopia (blue-blind)
#2DA794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac37;
/* rgb */ color: rgb(64, 172, 55);
/* oklch */ color: oklch(65.8% 0.184 142.0);
Tailwind
colors: {
  custom: {
    50: '#82c674',
    500: '#40ac37',
    950: '#000000',
  },
}
SCSS
$custom: #40ac37;
$custom-light: #82c674;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac37",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 115.385,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.18379,
    "h": 142
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#40AC37
secondary
#BD7DC2
accent
#4DDBD0
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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