#40B855#40B855

#40B855 is a light, vivid green. Relative luminance 0.360; OKLCH L 69.3% C 0.175 H 146.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#40B855
RGBrgb(64, 184, 85)
HSLhsl(131, 48%, 49%)
HSVhsv(131, 65%, 72%)
CMYKcmyk(65.2%, 0%, 53.8%, 27.8%)
CIE-LABlab(66.54, -54.01, 40.30)
CIE-LCHlch(66.54, 67.39, 143.27°)
OKLaboklab(69.34% -0.1459 0.0966)
OKLCHoklch(69.34% 0.175 146.5)
XYZxyz(20.8931, 36.0247, 14.4450)
Luminance0.3603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B855 #B840A3
analogous
#67B840 #40B855 #40B891
triadic
#40B855 #5540B8 #B85540
tetradic
#40B855 #4067B8 #B840A3 #B89140
square
#40B855 #4067B8 #B840A3 #B89140
split-complementary
#40B855 #9140B8 #B84067
monochromatic
#205D2B #308B40 #40B855 #6ACB7B #97DBA3

Accessibility & contrast

On white

2.56
#40B855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#40B855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B855
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B855#FFFFFF#000000##000000
##40B8551.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84C
Deuteranopia (green-blind)
#AC9E5C
Tritanopia (blue-blind)
#1CB4A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b855;
/* rgb */ color: rgb(64, 184, 85);
/* oklch */ color: oklch(69.3% 0.175 146.5);
Tailwind
colors: {
  custom: {
    50: '#83ce87',
    500: '#40b855',
    950: '#000000',
  },
}
SCSS
$custom: #40b855;
$custom-light: #83ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#40b855",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 130.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69341,
    "c": 0.17498,
    "h": 146.5
  },
  "luminance": 0.36027
}

Semantic roles & 50–950 ramp

primary
#40B855
secondary
#C78DBD
accent
#50C0D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B855

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

Preview Lab → · Contrast checker → · Palette generator →

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