#40C358#40C358

#40C358 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.3% C 0.186 H 146.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#40C358
RGBrgb(64, 195, 88)
HSLhsl(131, 52%, 51%)
HSVhsv(131, 67%, 76%)
CMYKcmyk(67.2%, 0%, 54.9%, 23.5%)
CIE-LABlab(70.05, -57.58, 43.09)
CIE-LCHlch(70.05, 71.92, 143.19°)
OKLaboklab(72.25% -0.1554 0.103)
OKLCHoklch(72.25% 0.186 146.5)
XYZxyz(23.3893, 40.8223, 15.8775)
Luminance0.4083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C358 #C340AB
analogous
#69C340 #40C358 #40C399
triadic
#40C358 #5840C3 #C35840
tetradic
#40C358 #4069C3 #C340AB #C39940
square
#40C358 #4069C3 #C340AB #C39940
split-complementary
#40C358 #9940C3 #C34069
monochromatic
#21682E #2F9742 #40C358 #6FD281 #9DE0A9

Accessibility & contrast

On white

2.29
#40C358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#40C358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C358
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C358#FFFFFF#000000##000000
##40C3581.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24E
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#10BFAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c358;
/* rgb */ color: rgb(64, 195, 88);
/* oklch */ color: oklch(72.3% 0.186 146.5);
Tailwind
colors: {
  custom: {
    50: '#85d68a',
    500: '#40c358',
    950: '#000000',
  },
}
SCSS
$custom: #40c358;
$custom-light: #85d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c358",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 130.992,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72254,
    "c": 0.18644,
    "h": 146.5
  },
  "luminance": 0.40825
}

Semantic roles & 50–950 ramp

primary
#40C358
secondary
#CC92C2
accent
#4CC1DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C358

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

Preview Lab → · Contrast checker → · Palette generator →

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