#40C635#40C635

#40C635 is a light, highly saturated green. Relative luminance 0.417; OKLCH L 72.7% C 0.215 H 142.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#40C635
RGBrgb(64, 198, 53)
HSLhsl(115, 58%, 49%)
HSVhsv(115, 73%, 78%)
CMYKcmyk(67.7%, 0%, 73.2%, 22.4%)
CIE-LABlab(70.69, -62.30, 58.59)
CIE-LCHlch(70.69, 85.52, 136.76°)
OKLaboklab(72.68% -0.1697 0.1325)
OKLCHoklch(72.68% 0.215 142)
XYZxyz(22.9498, 41.7328, 10.2132)
Luminance0.4173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C635 #BB35C6
analogous
#89C635 #40C635 #35C673
triadic
#40C635 #3540C6 #C63540
tetradic
#40C635 #3589C6 #BB35C6 #C67335
square
#40C635 #3589C6 #BB35C6 #C67335
split-complementary
#40C635 #7335C6 #C63589
monochromatic
#21651B #309628 #40C635 #6CD563 #99E293

Accessibility & contrast

On white

2.25
#40C635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#40C635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C635
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C635#FFFFFF#000000##000000
##40C6351.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB31A
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#20C0AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c635;
/* rgb */ color: rgb(64, 198, 53);
/* oklch */ color: oklch(72.7% 0.215 142.0);
Tailwind
colors: {
  custom: {
    50: '#87d875',
    500: '#40c635',
    950: '#000000',
  },
}
SCSS
$custom: #40c635;
$custom-light: #87d875;
$custom-dark: #000000;
JSON
{
  "hex": "#40c635",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 115.448,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.21529,
    "h": 142
  },
  "luminance": 0.41735
}

Semantic roles & 50–950 ramp

primary
#40C635
secondary
#C88ACD
accent
#47E1D5
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C635

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

Preview Lab → · Contrast checker → · Palette generator →

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