#40C35C#40C35C

#40C35C is a light, vivid green. Relative luminance 0.409; OKLCH L 72.3% C 0.183 H 147.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#40C35C
RGBrgb(64, 195, 92)
HSLhsl(133, 52%, 51%)
HSVhsv(133, 67%, 76%)
CMYKcmyk(67.2%, 0%, 52.8%, 23.5%)
CIE-LABlab(70.10, -57.03, 41.23)
CIE-LCHlch(70.10, 70.38, 144.14°)
OKLaboklab(72.31% -0.1538 0.0991)
OKLCHoklch(72.31% 0.183 147.2)
XYZxyz(23.5595, 40.8904, 16.7742)
Luminance0.4089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C35C #C340A7
analogous
#66C340 #40C35C #40C39D
triadic
#40C35C #5C40C3 #C35C40
tetradic
#40C35C #4066C3 #C340A7 #C39D40
square
#40C35C #4066C3 #C340A7 #C39D40
split-complementary
#40C35C #9D40C3 #C34066
monochromatic
#216830 #2F9745 #40C35C #6FD284 #9DE0AB

Accessibility & contrast

On white

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

On black

9.18
#40C35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C35C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C35C#FFFFFF#000000##000000
##40C35C1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B253
Deuteranopia (green-blind)
#B5A764
Tritanopia (blue-blind)
#0BBFAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c35c;
/* rgb */ color: rgb(64, 195, 92);
/* oklch */ color: oklch(72.3% 0.183 147.2);
Tailwind
colors: {
  custom: {
    50: '#85d68c',
    500: '#40c35c',
    950: '#000000',
  },
}
SCSS
$custom: #40c35c;
$custom-light: #85d68c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c35c",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 92
  },
  "hsl": {
    "h": 132.824,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72309,
    "c": 0.183,
    "h": 147.2
  },
  "luminance": 0.40893
}

Semantic roles & 50–950 ramp

primary
#40C35C
secondary
#CC92C0
accent
#4CBDDC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C35C

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

Preview Lab → · Contrast checker → · Palette generator →

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