#40C339#40C339

#40C339 is a light, highly saturated green. Relative luminance 0.404; OKLCH L 71.9% C 0.210 H 142.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#40C339
RGBrgb(64, 195, 57)
HSLhsl(117, 55%, 49%)
HSVhsv(117, 71%, 76%)
CMYKcmyk(67.2%, 0%, 70.8%, 23.5%)
CIE-LABlab(69.76, -60.98, 56.18)
CIE-LCHlch(69.76, 82.91, 137.35°)
OKLaboklab(71.92% -0.1659 0.128)
OKLCHoklch(71.92% 0.21 142.4)
XYZxyz(22.3667, 40.4133, 10.4919)
Luminance0.4042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C339 #BC39C3
analogous
#85C339 #40C339 #39C377
triadic
#40C339 #3940C3 #C33940
tetradic
#40C339 #3985C3 #BC39C3 #C37739
square
#40C339 #3985C3 #BC39C3 #C37739
split-complementary
#40C339 #7739C3 #C33985
monochromatic
#21641D #30942B #40C339 #6CD267 #9AE096

Accessibility & contrast

On white

2.31
#40C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#40C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C339
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C339#FFFFFF#000000##000000
##40C3391.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#B8A647
Tritanopia (blue-blind)
#21BDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c339;
/* rgb */ color: rgb(64, 195, 57);
/* oklch */ color: oklch(71.9% 0.210 142.4);
Tailwind
colors: {
  custom: {
    50: '#86d677',
    500: '#40c339',
    950: '#000000',
  },
}
SCSS
$custom: #40c339;
$custom-light: #86d677;
$custom-dark: #000000;
JSON
{
  "hex": "#40c339",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 116.957,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71922,
    "c": 0.20953,
    "h": 142.4
  },
  "luminance": 0.40416
}

Semantic roles & 50–950 ramp

primary
#40C339
secondary
#C98CCC
accent
#4ADED7
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C339

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

Preview Lab → · Contrast checker → · Palette generator →

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