#40CB4F#40CB4F

#40CB4F is a light, highly saturated green. Relative luminance 0.444; OKLCH L 74.2% C 0.204 H 144.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#40CB4F
RGBrgb(64, 203, 79)
HSLhsl(126, 57%, 52%)
HSVhsv(126, 68%, 80%)
CMYKcmyk(68.5%, 0%, 61.1%, 20.4%)
CIE-LABlab(72.47, -61.49, 50.06)
CIE-LCHlch(72.47, 79.29, 140.85°)
OKLaboklab(74.22% -0.1663 0.1174)
OKLCHoklch(74.22% 0.204 144.8)
XYZxyz(24.8799, 44.3637, 14.6475)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB4F #CB40BC
analogous
#76CB40 #40CB4F #40CB95
triadic
#40CB4F #4F40CB #CB4F40
tetradic
#40CB4F #4076CB #CB40BC #CB9540
square
#40CB4F #4076CB #CB40BC #CB9540
split-complementary
#40CB4F #9540CB #CB4076
monochromatic
#1F7228 #2CA239 #40CB4F #70D87B #A0E5A8

Accessibility & contrast

On white

2.13
#40CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#40CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB4F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB4F#FFFFFF#000000##000000
##40CB4F1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB941
Deuteranopia (green-blind)
#BEAD59
Tritanopia (blue-blind)
#0EC6B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb4f;
/* rgb */ color: rgb(64, 203, 79);
/* oklch */ color: oklch(74.2% 0.204 144.8);
Tailwind
colors: {
  custom: {
    50: '#87dc85',
    500: '#40cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #40cb4f;
$custom-light: #87dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb4f",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 126.475,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74225,
    "c": 0.20355,
    "h": 144.8
  },
  "luminance": 0.44366
}

Semantic roles & 50–950 ramp

primary
#40CB4F
secondary
#D295CB
accent
#47D0E0
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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