#40C247#40C247

#40C247 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.8% C 0.199 H 143.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#40C247
RGBrgb(64, 194, 71)
HSLhsl(123, 52%, 51%)
HSVhsv(123, 67%, 76%)
CMYKcmyk(67%, 0%, 63.4%, 23.9%)
CIE-LABlab(69.56, -59.29, 50.27)
CIE-LCHlch(69.56, 77.73, 139.71°)
OKLaboklab(71.79% -0.1607 0.1171)
OKLCHoklch(71.79% 0.199 143.9)
XYZxyz(22.5421, 40.1261, 12.5172)
Luminance0.4013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C247 #C240BB
analogous
#7AC240 #40C247 #40C288
triadic
#40C247 #4740C2 #C24740
tetradic
#40C247 #407AC2 #C240BB #C28840
square
#40C247 #407AC2 #C240BB #C28840
split-complementary
#40C247 #8840C2 #C2407A
monochromatic
#216725 #309535 #40C247 #6ED174 #9DE0A0

Accessibility & contrast

On white

2.33
#40C247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#40C247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C247
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C247#FFFFFF#000000##000000
##40C2471.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B038
Deuteranopia (green-blind)
#B6A652
Tritanopia (blue-blind)
#1CBDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c247;
/* rgb */ color: rgb(64, 194, 71);
/* oklch */ color: oklch(71.8% 0.199 143.9);
Tailwind
colors: {
  custom: {
    50: '#85d67f',
    500: '#40c247',
    950: '#000000',
  },
}
SCSS
$custom: #40c247;
$custom-light: #85d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c247",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 123.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7179,
    "c": 0.19881,
    "h": 143.9
  },
  "luminance": 0.40128
}

Semantic roles & 50–950 ramp

primary
#40C247
secondary
#CC92C9
accent
#4DD3DB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C247

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

Preview Lab → · Contrast checker → · Palette generator →

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