#40AF61#40AF61

#40AF61 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.2% C 0.152 H 150.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#40AF61
RGBrgb(64, 175, 97)
HSLhsl(138, 46%, 47%)
HSVhsv(138, 63%, 69%)
CMYKcmyk(63.4%, 0%, 44.6%, 31.4%)
CIE-LABlab(63.84, -48.76, 30.89)
CIE-LCHlch(63.84, 57.72, 147.65°)
OKLaboklab(67.17% -0.1316 0.076)
OKLCHoklch(67.17% 0.152 150)
XYZxyz(19.6005, 32.6110, 16.5686)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF61 #AF408E
analogous
#56AF40 #40AF61 #40AF99
triadic
#40AF61 #6140AF #AF6140
tetradic
#40AF61 #4056AF #AF408E #AF9940
square
#40AF61 #4056AF #AF408E #AF9940
split-complementary
#40AF61 #9940AF #AF4056
monochromatic
#1F552F #308248 #40AF61 #65C782 #92D7A7

Accessibility & contrast

On white

2.79
#40AF61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#40AF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF61
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF61#FFFFFF#000000##000000
##40AF611.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15B
Deuteranopia (green-blind)
#A29766
Tritanopia (blue-blind)
#1AAC9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af61;
/* rgb */ color: rgb(64, 175, 97);
/* oklch */ color: oklch(67.2% 0.152 150.0);
Tailwind
colors: {
  custom: {
    50: '#81c88f',
    500: '#40af61',
    950: '#000000',
  },
}
SCSS
$custom: #40af61;
$custom-light: #81c88f;
$custom-dark: #000000;
JSON
{
  "hex": "#40af61",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 97
  },
  "hsl": {
    "h": 137.838,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.15199,
    "h": 150
  },
  "luminance": 0.32613
}

Semantic roles & 50–950 ramp

primary
#40AF61
secondary
#C388B1
accent
#52AFD6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AF61

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

Preview Lab → · Contrast checker → · Palette generator →

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