#40B159#40B159

#40B159 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.6% C 0.162 H 147.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#40B159
RGBrgb(64, 177, 89)
HSLhsl(133, 47%, 47%)
HSVhsv(133, 64%, 69%)
CMYKcmyk(63.8%, 0%, 49.7%, 30.6%)
CIE-LABlab(64.37, -50.81, 35.65)
CIE-LCHlch(64.37, 62.07, 144.94°)
OKLaboklab(67.57% -0.1372 0.0865)
OKLCHoklch(67.57% 0.162 147.8)
XYZxyz(19.6383, 33.2536, 14.8329)
Luminance0.3326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B159 #B14098
analogous
#60B140 #40B159 #40B191
triadic
#40B159 #5940B1 #B15940
tetradic
#40B159 #4060B1 #B14098 #B19140
square
#40B159 #4060B1 #B14098 #B19140
split-complementary
#40B159 #9140B1 #B14060
monochromatic
#1F572C #308442 #40B159 #66C87C #93D8A3

Accessibility & contrast

On white

2.74
#40B159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#40B159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B159
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B159#FFFFFF#000000##000000
##40B1591.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A252
Deuteranopia (green-blind)
#A5985F
Tritanopia (blue-blind)
#1EAD9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b159;
/* rgb */ color: rgb(64, 177, 89);
/* oklch */ color: oklch(67.6% 0.162 147.8);
Tailwind
colors: {
  custom: {
    50: '#81c989',
    500: '#40b159',
    950: '#000000',
  },
}
SCSS
$custom: #40b159;
$custom-light: #81c989;
$custom-dark: #000000;
JSON
{
  "hex": "#40b159",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 133.274,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.16217,
    "h": 147.8
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#40B159
secondary
#C389B7
accent
#51B9D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B159

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

Preview Lab → · Contrast checker → · Palette generator →

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