#40B85F#40B85F

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

Color values

HEX#40B85F
RGBrgb(64, 184, 95)
HSLhsl(136, 48%, 49%)
HSVhsv(136, 65%, 72%)
CMYKcmyk(65.2%, 0%, 48.4%, 27.8%)
CIE-LABlab(66.67, -52.54, 35.50)
CIE-LCHlch(66.67, 63.41, 145.95°)
OKLaboklab(69.49% -0.1417 0.0864)
OKLCHoklch(69.49% 0.166 148.6)
XYZxyz(21.3188, 36.1950, 16.6871)
Luminance0.3620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B85F #B84099
analogous
#5DB840 #40B85F #40B89B
triadic
#40B85F #5F40B8 #B85F40
tetradic
#40B85F #405DB8 #B84099 #B89B40
square
#40B85F #405DB8 #B84099 #B89B40
split-complementary
#40B85F #9B40B8 #B8405D
monochromatic
#205D30 #308B48 #40B85F #6ACB83 #97DBA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B85F#FFFFFF#000000##000000
##40B85F1.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)
#BAA858
Deuteranopia (green-blind)
#AB9E65
Tritanopia (blue-blind)
#14B4A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b85f;
/* rgb */ color: rgb(64, 184, 95);
/* oklch */ color: oklch(69.5% 0.166 148.6);
Tailwind
colors: {
  custom: {
    50: '#82ce8e',
    500: '#40b85f',
    950: '#000000',
  },
}
SCSS
$custom: #40b85f;
$custom-light: #82ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b85f",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 135.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6949,
    "c": 0.166,
    "h": 148.6
  },
  "luminance": 0.36197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B85F

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

Preview Lab → · Contrast checker → · Palette generator →

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