#40A863#40A863

#40A863 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.4% C 0.140 H 151.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#40A863
RGBrgb(64, 168, 99)
HSLhsl(140, 45%, 45%)
HSVhsv(140, 62%, 66%)
CMYKcmyk(61.9%, 0%, 41.1%, 34.1%)
CIE-LABlab(61.65, -45.62, 26.98)
CIE-LCHlch(61.65, 53.00, 149.40°)
OKLaboklab(65.38% -0.1233 0.067)
OKLCHoklch(65.38% 0.14 151.5)
XYZxyz(18.3677, 29.9943, 16.6235)
Luminance0.3000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A863 #A84085
analogous
#51A840 #40A863 #40A897
triadic
#40A863 #6340A8 #A86340
tetradic
#40A863 #4051A8 #A84085 #A89740
square
#40A863 #4051A8 #A84085 #A89740
split-complementary
#40A863 #9740A8 #A84051
monochromatic
#1E4F2F #2F7C49 #40A863 #62C383 #8ED4A6

Accessibility & contrast

On white

3.00
#40A863 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#40A863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A863
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A863#FFFFFF#000000##000000
##40A8631.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5E
Deuteranopia (green-blind)
#9B9168
Tritanopia (blue-blind)
#1DA697
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a863;
/* rgb */ color: rgb(64, 168, 99);
/* oklch */ color: oklch(65.4% 0.140 151.5);
Tailwind
colors: {
  custom: {
    50: '#7fc390',
    500: '#40a863',
    950: '#000000',
  },
}
SCSS
$custom: #40a863;
$custom-light: #7fc390;
$custom-dark: #000000;
JSON
{
  "hex": "#40a863",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 99
  },
  "hsl": {
    "h": 140.192,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.14035,
    "h": 151.5
  },
  "luminance": 0.29996
}

Semantic roles & 50–950 ramp

primary
#40A863
secondary
#BF85AB
accent
#53A9D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A863

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

Preview Lab → · Contrast checker → · Palette generator →

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