#40C239#40C239

#40C239 is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.208 H 142.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#40C239
RGBrgb(64, 194, 57)
HSLhsl(117, 55%, 49%)
HSVhsv(117, 71%, 76%)
CMYKcmyk(67%, 0%, 70.6%, 23.9%)
CIE-LABlab(69.45, -60.64, 55.85)
CIE-LCHlch(69.45, 82.44, 137.36°)
OKLaboklab(71.66% -0.165 0.1273)
OKLCHoklch(71.66% 0.208 142.4)
XYZxyz(22.1434, 39.9667, 10.4175)
Luminance0.3997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C239 #BB39C2
analogous
#85C239 #40C239 #39C277
triadic
#40C239 #3940C2 #C23940
tetradic
#40C239 #3985C2 #BB39C2 #C27739
square
#40C239 #3985C2 #BB39C2 #C27739
split-complementary
#40C239 #7739C2 #C23985
monochromatic
#21631D #30932B #40C239 #6CD266 #99E095

Accessibility & contrast

On white

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

On black

8.99
#40C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C239
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C239#FFFFFF#000000##000000
##40C2391.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#22BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c239;
/* rgb */ color: rgb(64, 194, 57);
/* oklch */ color: oklch(71.7% 0.208 142.4);
Tailwind
colors: {
  custom: {
    50: '#86d677',
    500: '#40c239',
    950: '#000000',
  },
}
SCSS
$custom: #40c239;
$custom-light: #86d677;
$custom-dark: #000000;
JSON
{
  "hex": "#40c239",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 116.934,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7166,
    "c": 0.20839,
    "h": 142.4
  },
  "luminance": 0.39969
}

Semantic roles & 50–950 ramp

primary
#40C239
secondary
#C88BCB
accent
#4ADED6
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C239

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

Preview Lab → · Contrast checker → · Palette generator →

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