#40B563#40B563

#40B563 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.158 H 149.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#40B563
RGBrgb(64, 181, 99)
HSLhsl(138, 48%, 48%)
HSVhsv(138, 65%, 71%)
CMYKcmyk(64.6%, 0%, 45.3%, 29%)
CIE-LABlab(65.78, -50.75, 32.33)
CIE-LCHlch(65.78, 60.17, 147.50°)
OKLaboklab(68.77% -0.1369 0.0794)
OKLCHoklch(68.77% 0.158 149.9)
XYZxyz(20.8888, 35.0364, 17.4638)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B563 #B54092
analogous
#57B540 #40B563 #40B59D
triadic
#40B563 #6340B5 #B56340
tetradic
#40B563 #4057B5 #B54092 #B59D40
square
#40B563 #4057B5 #B54092 #B59D40
split-complementary
#40B563 #9D40B5 #B54057
monochromatic
#205B32 #30884A #40B563 #68CA86 #96DAAA

Accessibility & contrast

On white

2.62
#40B563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#40B563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B563
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B563#FFFFFF#000000##000000
##40B5631.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65D
Deuteranopia (green-blind)
#A79C69
Tritanopia (blue-blind)
#13B2A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b563;
/* rgb */ color: rgb(64, 181, 99);
/* oklch */ color: oklch(68.8% 0.158 149.9);
Tailwind
colors: {
  custom: {
    50: '#82cc90',
    500: '#40b563',
    950: '#000000',
  },
}
SCSS
$custom: #40b563;
$custom-light: #82cc90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b563",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 99
  },
  "hsl": {
    "h": 137.949,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.15828,
    "h": 149.9
  },
  "luminance": 0.35039
}

Semantic roles & 50–950 ramp

primary
#40B563
secondary
#C58BB4
accent
#50AFD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130D
muted
#7D827D

Preview Lab

Preview with #40B563

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

Preview Lab → · Contrast checker → · Palette generator →

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