#40B85D#40B85D

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

Color values

HEX#40B85D
RGBrgb(64, 184, 93)
HSLhsl(135, 48%, 49%)
HSVhsv(135, 65%, 72%)
CMYKcmyk(65.2%, 0%, 49.5%, 27.8%)
CIE-LABlab(66.64, -52.85, 36.48)
CIE-LCHlch(66.64, 64.21, 145.39°)
OKLaboklab(69.46% -0.1426 0.0886)
OKLCHoklch(69.46% 0.168 148.2)
XYZxyz(21.2291, 36.1591, 16.2144)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B85D #B8409B
analogous
#5FB840 #40B85D #40B899
triadic
#40B85D #5D40B8 #B85D40
tetradic
#40B85D #405FB8 #B8409B #B89940
square
#40B85D #405FB8 #B8409B #B89940
split-complementary
#40B85D #9940B8 #B8405F
monochromatic
#205D2F #308B46 #40B85D #6ACB81 #97DBA8

Accessibility & contrast

On white

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

On black

8.23
#40B85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B85D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B85D#FFFFFF#000000##000000
##40B85D1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA855
Deuteranopia (green-blind)
#AB9E63
Tritanopia (blue-blind)
#16B4A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b85d;
/* rgb */ color: rgb(64, 184, 93);
/* oklch */ color: oklch(69.5% 0.168 148.2);
Tailwind
colors: {
  custom: {
    50: '#83ce8c',
    500: '#40b85d',
    950: '#000000',
  },
}
SCSS
$custom: #40b85d;
$custom-light: #83ce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b85d",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 93
  },
  "hsl": {
    "h": 134.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69459,
    "c": 0.16783,
    "h": 148.2
  },
  "luminance": 0.36161
}

Semantic roles & 50–950 ramp

primary
#40B85D
secondary
#C78DB9
accent
#50B7D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B85D

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

Preview Lab → · Contrast checker → · Palette generator →

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