#40B261#40B261

#40B261 is a light, vivid green. Relative luminance 0.338; OKLCH L 68.0% C 0.156 H 149.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#40B261
RGBrgb(64, 178, 97)
HSLhsl(137, 47%, 47%)
HSVhsv(137, 64%, 70%)
CMYKcmyk(64%, 0%, 45.5%, 30.2%)
CIE-LABlab(64.80, -49.92, 32.11)
CIE-LCHlch(64.80, 59.36, 147.25°)
OKLaboklab(67.96% -0.1347 0.0788)
OKLCHoklch(67.96% 0.156 149.7)
XYZxyz(20.1909, 33.7918, 16.7654)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B261 #B24091
analogous
#58B240 #40B261 #40B29A
triadic
#40B261 #6140B2 #B26140
tetradic
#40B261 #4058B2 #B24091 #B29A40
square
#40B261 #4058B2 #B24091 #B29A40
split-complementary
#40B261 #9A40B2 #B24058
monochromatic
#205830 #308548 #40B261 #67C883 #94D8A8

Accessibility & contrast

On white

2.71
#40B261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#40B261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B261
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B261#FFFFFF#000000##000000
##40B2611.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35B
Deuteranopia (green-blind)
#A59967
Tritanopia (blue-blind)
#17AF9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b261;
/* rgb */ color: rgb(64, 178, 97);
/* oklch */ color: oklch(68.0% 0.156 149.7);
Tailwind
colors: {
  custom: {
    50: '#81ca8f',
    500: '#40b261',
    950: '#000000',
  },
}
SCSS
$custom: #40b261;
$custom-light: #81ca8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b261",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 137.368,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.15608,
    "h": 149.7
  },
  "luminance": 0.33794
}

Semantic roles & 50–950 ramp

primary
#40B261
secondary
#C48AB3
accent
#51B0D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B261

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

Preview Lab → · Contrast checker → · Palette generator →

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