#40CF2C#40CF2C

#40CF2C is a light, highly saturated green. Relative luminance 0.459; OKLCH L 75.0% C 0.230 H 141.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#40CF2C
RGBrgb(64, 207, 44)
HSLhsl(113, 65%, 49%)
HSVhsv(113, 79%, 81%)
CMYKcmyk(69.1%, 0%, 78.7%, 18.8%)
CIE-LABlab(73.48, -65.83, 64.25)
CIE-LCHlch(73.48, 91.99, 135.70°)
OKLaboklab(74.98% -0.1797 0.1431)
OKLCHoklch(74.98% 0.23 141.5)
XYZxyz(24.8804, 45.8948, 9.9298)
Luminance0.4590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF2C #BB2CCF
analogous
#92CF2C #40CF2C #2CCF6A
triadic
#40CF2C #2C40CF #CF2C40
tetradic
#40CF2C #2C92CF #BB2CCF #CF6A2C
square
#40CF2C #2C92CF #BB2CCF #CF6A2C
split-complementary
#40CF2C #6A2CCF #CF2C92
monochromatic
#216A17 #309D21 #40CF2C #6CDC5C #99E78E

Accessibility & contrast

On white

2.06
#40CF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#40CF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF2C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF2C#FFFFFF#000000##000000
##40CF2C1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#1DC8B1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cf2c;
/* rgb */ color: rgb(64, 207, 44);
/* oklch */ color: oklch(75.0% 0.230 141.5);
Tailwind
colors: {
  custom: {
    50: '#89df72',
    500: '#40cf2c',
    950: '#000000',
  },
}
SCSS
$custom: #40cf2c;
$custom-light: #89df72;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf2c",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 44
  },
  "hsl": {
    "h": 112.638,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74978,
    "c": 0.22969,
    "h": 141.5
  },
  "luminance": 0.45897
}

Semantic roles & 50–950 ramp

primary
#40CF2C
secondary
#C885D1
accent
#40E8D3
background
#F9FDF7
surface
#F2FBED
border
#CCD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40CF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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