#40B558#40B558

#40B558 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.6% C 0.168 H 147.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#40B558
RGBrgb(64, 181, 88)
HSLhsl(132, 48%, 48%)
HSVhsv(132, 65%, 71%)
CMYKcmyk(64.6%, 0%, 51.4%, 29%)
CIE-LABlab(65.62, -52.47, 37.71)
CIE-LCHlch(65.62, 64.62, 144.29°)
OKLaboklab(68.6% -0.1416 0.0911)
OKLCHoklch(68.6% 0.168 147.3)
XYZxyz(20.3983, 34.8402, 14.8805)
Luminance0.3484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B558 #B5409D
analogous
#62B540 #40B558 #40B592
triadic
#40B558 #5840B5 #B55840
tetradic
#40B558 #4062B5 #B5409D #B59240
square
#40B558 #4062B5 #B5409D #B59240
split-complementary
#40B558 #9240B5 #B54062
monochromatic
#205B2C #308842 #40B558 #68CA7C #96DAA4

Accessibility & contrast

On white

2.64
#40B558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#40B558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B558
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B558#FFFFFF#000000##000000
##40B5581.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A650
Deuteranopia (green-blind)
#A99B5F
Tritanopia (blue-blind)
#1CB1A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b558;
/* rgb */ color: rgb(64, 181, 88);
/* oklch */ color: oklch(68.6% 0.168 147.3);
Tailwind
colors: {
  custom: {
    50: '#82cc89',
    500: '#40b558',
    950: '#000000',
  },
}
SCSS
$custom: #40b558;
$custom-light: #82cc89;
$custom-dark: #000000;
JSON
{
  "hex": "#40b558",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 132.308,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.16839,
    "h": 147.3
  },
  "luminance": 0.34842
}

Semantic roles & 50–950 ramp

primary
#40B558
secondary
#C58BB9
accent
#50BCD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B558

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

Preview Lab → · Contrast checker → · Palette generator →

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