#40C241#40C241

#40C241 is a light, highly saturated green. Relative luminance 0.401; OKLCH L 71.7% C 0.203 H 143.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#40C241
RGBrgb(64, 194, 65)
HSLhsl(120, 52%, 51%)
HSVhsv(120, 67%, 76%)
CMYKcmyk(67%, 0%, 66.5%, 23.9%)
CIE-LABlab(69.51, -59.91, 52.74)
CIE-LCHlch(69.51, 79.82, 138.64°)
OKLaboklab(71.73% -0.1626 0.1217)
OKLCHoklch(71.73% 0.203 143.2)
XYZxyz(22.3589, 40.0529, 11.5527)
Luminance0.4006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C241 #C240C1
analogous
#80C240 #40C241 #40C282
triadic
#40C241 #4140C2 #C24140
tetradic
#40C241 #4080C2 #C240C1 #C28240
square
#40C241 #4080C2 #C240C1 #C28240
split-complementary
#40C241 #8240C2 #C24080
monochromatic
#216721 #309530 #40C241 #6ED16F #9DE09D

Accessibility & contrast

On white

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

On black

9.01
#40C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C241
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C241#FFFFFF#000000##000000
##40C2411.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#1FBDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c241;
/* rgb */ color: rgb(64, 194, 65);
/* oklch */ color: oklch(71.7% 0.203 143.2);
Tailwind
colors: {
  custom: {
    50: '#86d67b',
    500: '#40c241',
    950: '#000000',
  },
}
SCSS
$custom: #40c241;
$custom-light: #86d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c241",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 120.462,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7173,
    "c": 0.20312,
    "h": 143.2
  },
  "luminance": 0.40055
}

Semantic roles & 50–950 ramp

primary
#40C241
secondary
#CC92CB
accent
#4DDADB
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C241

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

Preview Lab → · Contrast checker → · Palette generator →

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