#40C368#40C368

#40C368 is a light, vivid green. Relative luminance 0.411; OKLCH L 72.5% C 0.172 H 149.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#40C368
RGBrgb(64, 195, 104)
HSLhsl(138, 52%, 51%)
HSVhsv(138, 67%, 76%)
CMYKcmyk(67.2%, 0%, 46.7%, 23.5%)
CIE-LABlab(70.26, -55.22, 35.49)
CIE-LCHlch(70.26, 65.64, 147.27°)
OKLaboklab(72.49% -0.1488 0.0868)
OKLCHoklch(72.49% 0.172 149.7)
XYZxyz(24.1263, 41.1171, 19.7589)
Luminance0.4112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C368 #C3409B
analogous
#59C340 #40C368 #40C3AA
triadic
#40C368 #6840C3 #C36840
tetradic
#40C368 #4059C3 #C3409B #C3AA40
square
#40C368 #4059C3 #C3409B #C3AA40
split-complementary
#40C368 #AA40C3 #C34059
monochromatic
#216836 #2F974F #40C368 #6FD28D #9DE0B2

Accessibility & contrast

On white

2.28
#40C368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#40C368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C368
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C368#FFFFFF#000000##000000
##40C3681.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B361
Deuteranopia (green-blind)
#B4A76E
Tritanopia (blue-blind)
#00C0AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c368;
/* rgb */ color: rgb(64, 195, 104);
/* oklch */ color: oklch(72.5% 0.172 149.7);
Tailwind
colors: {
  custom: {
    50: '#84d694',
    500: '#40c368',
    950: '#000000',
  },
}
SCSS
$custom: #40c368;
$custom-light: #84d694;
$custom-dark: #000000;
JSON
{
  "hex": "#40c368",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 104
  },
  "hsl": {
    "h": 138.321,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72492,
    "c": 0.17229,
    "h": 149.7
  },
  "luminance": 0.4112
}

Semantic roles & 50–950 ramp

primary
#40C368
secondary
#CC92BB
accent
#4CB0DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C368

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

Preview Lab → · Contrast checker → · Palette generator →

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