#40AF37#40AF37

#40AF37 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.187 H 142.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#40AF37
RGBrgb(64, 175, 55)
HSLhsl(116, 52%, 45%)
HSVhsv(116, 69%, 69%)
CMYKcmyk(63.4%, 0%, 68.6%, 31.4%)
CIE-LABlab(63.36, -54.24, 50.23)
CIE-LCHlch(63.36, 73.93, 137.20°)
OKLaboklab(66.62% -0.1478 0.1153)
OKLCHoklch(66.62% 0.187 142.1)
XYZxyz(18.1329, 32.0240, 8.8393)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF37 #A637AF
analogous
#7CAF37 #40AF37 #37AF6A
triadic
#40AF37 #3740AF #AF3740
tetradic
#40AF37 #377CAF #A637AF #AF6A37
square
#40AF37 #377CAF #A637AF #AF6A37
split-complementary
#40AF37 #6A37AF #AF377C
monochromatic
#1E521A #2F8028 #40AF37 #61CB59 #8DD987

Accessibility & contrast

On white

2.84
#40AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#40AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF37
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF37#FFFFFF#000000##000000
##40AF371.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#A69642
Tritanopia (blue-blind)
#2BAA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af37;
/* rgb */ color: rgb(64, 175, 55);
/* oklch */ color: oklch(66.6% 0.187 142.1);
Tailwind
colors: {
  custom: {
    50: '#82c874',
    500: '#40af37',
    950: '#000000',
  },
}
SCSS
$custom: #40af37;
$custom-light: #82c874;
$custom-dark: #000000;
JSON
{
  "hex": "#40af37",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 115.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.18742,
    "h": 142.1
  },
  "luminance": 0.32026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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