#40B863#40B863

#40B863 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.6% C 0.162 H 149.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#40B863
RGBrgb(64, 184, 99)
HSLhsl(138, 48%, 49%)
HSVhsv(138, 65%, 72%)
CMYKcmyk(65.2%, 0%, 46.2%, 27.8%)
CIE-LABlab(66.73, -51.90, 33.54)
CIE-LCHlch(66.73, 61.79, 147.13°)
OKLaboklab(69.56% -0.14 0.0821)
OKLCHoklch(69.56% 0.162 149.6)
XYZxyz(21.5053, 36.2696, 17.6694)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B863 #B84095
analogous
#59B840 #40B863 #40B89F
triadic
#40B863 #6340B8 #B86340
tetradic
#40B863 #4059B8 #B84095 #B89F40
square
#40B863 #4059B8 #B84095 #B89F40
split-complementary
#40B863 #9F40B8 #B84059
monochromatic
#205D32 #308B4B #40B863 #6ACB86 #97DBAB

Accessibility & contrast

On white

2.54
#40B863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#40B863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B863
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B863#FFFFFF#000000##000000
##40B8631.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A95C
Deuteranopia (green-blind)
#AA9E69
Tritanopia (blue-blind)
#10B5A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b863;
/* rgb */ color: rgb(64, 184, 99);
/* oklch */ color: oklch(69.6% 0.162 149.6);
Tailwind
colors: {
  custom: {
    50: '#82ce90',
    500: '#40b863',
    950: '#000000',
  },
}
SCSS
$custom: #40b863;
$custom-light: #82ce90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b863",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 99
  },
  "hsl": {
    "h": 137.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69556,
    "c": 0.16232,
    "h": 149.6
  },
  "luminance": 0.36272
}

Semantic roles & 50–950 ramp

primary
#40B863
secondary
#C78DB6
accent
#50B0D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140D
muted
#7D827D

Preview Lab

Preview with #40B863

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

Preview Lab → · Contrast checker → · Palette generator →

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