#40F997#40F997

#40F997 is a very light, vivid green. Relative luminance 0.711; OKLCH L 87.0% C 0.199 H 154.6°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#40F997
RGBrgb(64, 249, 151)
HSLhsl(148, 94%, 61%)
HSVhsv(148, 74%, 98%)
CMYKcmyk(74.3%, 0%, 39.4%, 2.4%)
CIE-LABlab(87.52, -66.66, 34.29)
CIE-LCHlch(87.52, 74.97, 152.78°)
OKLaboklab(86.97% -0.1797 0.0854)
OKLCHoklch(86.97% 0.199 154.6)
XYZxyz(41.5720, 71.0708, 40.7992)
Luminance0.7108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40F997 #F940A2
analogous
#46F940 #40F997 #40F9F3
triadic
#40F997 #9740F9 #F99740
tetradic
#40F997 #4046F9 #F940A2 #F9F340
square
#40F997 #4046F9 #F940A2 #F9F340
split-complementary
#40F997 #F340F9 #F94046
monochromatic
#06B95A #08F477 #40F997 #7BFBB7 #B7FDD8

Accessibility & contrast

On white

1.38
#40F997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#40F997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40F997
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40F997#FFFFFF#000000##000000
##40F9971.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E590
Deuteranopia (green-blind)
#E2D59E
Tritanopia (blue-blind)
#00F6E1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #40f997;
/* rgb */ color: rgb(64, 249, 151);
/* oklch */ color: oklch(87.0% 0.199 154.6);
Tailwind
colors: {
  custom: {
    50: '#8efcb6',
    500: '#40f997',
    950: '#000000',
  },
}
SCSS
$custom: #40f997;
$custom-light: #8efcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#40f997",
  "rgb": {
    "r": 64,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 148.216,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86968,
    "c": 0.19895,
    "h": 154.6
  },
  "luminance": 0.71076
}

Semantic roles & 50–950 ramp

primary
#40F997
secondary
#B72673
accent
#007AE6
background
#FCFFFD
surface
#F5FFF8
border
#CFD7D1
text
#0E1811
muted
#7F8681

Preview Lab

Preview with #40F997

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

Preview Lab → · Contrast checker → · Palette generator →

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