#40B85E#40B85E

#40B85E is a light, vivid green. Relative luminance 0.362; OKLCH L 69.5% C 0.167 H 148.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#40B85E
RGBrgb(64, 184, 94)
HSLhsl(135, 48%, 49%)
HSVhsv(135, 65%, 72%)
CMYKcmyk(65.2%, 0%, 48.9%, 27.8%)
CIE-LABlab(66.65, -52.69, 35.99)
CIE-LCHlch(66.65, 63.81, 145.67°)
OKLaboklab(69.47% -0.1421 0.0875)
OKLCHoklch(69.47% 0.167 148.4)
XYZxyz(21.2737, 36.1769, 16.4492)
Luminance0.3618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B85E #B8409A
analogous
#5EB840 #40B85E #40B89A
triadic
#40B85E #5E40B8 #B85E40
tetradic
#40B85E #405EB8 #B8409A #B89A40
square
#40B85E #405EB8 #B8409A #B89A40
split-complementary
#40B85E #9A40B8 #B8405E
monochromatic
#205D30 #308B47 #40B85E #6ACB82 #97DBA8

Accessibility & contrast

On white

2.55
#40B85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#40B85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B85E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B85E#FFFFFF#000000##000000
##40B85E1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA857
Deuteranopia (green-blind)
#AB9E64
Tritanopia (blue-blind)
#15B4A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b85e;
/* rgb */ color: rgb(64, 184, 94);
/* oklch */ color: oklch(69.5% 0.167 148.4);
Tailwind
colors: {
  custom: {
    50: '#82ce8d',
    500: '#40b85e',
    950: '#000000',
  },
}
SCSS
$custom: #40b85e;
$custom-light: #82ce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b85e",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 135,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.16692,
    "h": 148.4
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

primary
#40B85E
secondary
#C78DB8
accent
#50B6D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B85E

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

Preview Lab → · Contrast checker → · Palette generator →

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