#40C135#40C135

#40C135 is a light, highly saturated green. Relative luminance 0.395; OKLCH L 71.4% C 0.210 H 142.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#40C135
RGBrgb(64, 193, 53)
HSLhsl(115, 57%, 48%)
HSVhsv(115, 73%, 76%)
CMYKcmyk(66.8%, 0%, 72.5%, 24.3%)
CIE-LABlab(69.10, -60.63, 56.98)
CIE-LCHlch(69.10, 83.20, 136.78°)
OKLaboklab(71.36% -0.1652 0.1291)
OKLCHoklch(71.36% 0.21 142)
XYZxyz(21.8257, 39.4847, 9.8386)
Luminance0.3949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C135 #B635C1
analogous
#86C135 #40C135 #35C170
triadic
#40C135 #3540C1 #C13540
tetradic
#40C135 #3586C1 #B635C1 #C17035
square
#40C135 #3586C1 #B635C1 #C17035
split-complementary
#40C135 #7035C1 #C13586
monochromatic
#20611B #309128 #40C135 #69D360 #96E090

Accessibility & contrast

On white

2.36
#40C135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#40C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C135
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C135#FFFFFF#000000##000000
##40C1351.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1C
Deuteranopia (green-blind)
#B6A543
Tritanopia (blue-blind)
#23BBA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c135;
/* rgb */ color: rgb(64, 193, 53);
/* oklch */ color: oklch(71.4% 0.210 142.0);
Tailwind
colors: {
  custom: {
    50: '#86d575',
    500: '#40c135',
    950: '#000000',
  },
}
SCSS
$custom: #40c135;
$custom-light: #86d575;
$custom-dark: #000000;
JSON
{
  "hex": "#40c135",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 115.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71365,
    "c": 0.20967,
    "h": 142
  },
  "luminance": 0.39487
}

Semantic roles & 50–950 ramp

primary
#40C135
secondary
#C687CB
accent
#48E0D4
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C135

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

Preview Lab → · Contrast checker → · Palette generator →

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