#40C459#40C459

#40C459 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.5% C 0.187 H 146.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#40C459
RGBrgb(64, 196, 89)
HSLhsl(131, 53%, 51%)
HSVhsv(131, 67%, 77%)
CMYKcmyk(67.3%, 0%, 54.6%, 23.1%)
CIE-LABlab(70.38, -57.81, 43.01)
CIE-LCHlch(70.38, 72.05, 143.35°)
OKLaboklab(72.53% -0.156 0.1029)
OKLCHoklch(72.53% 0.187 146.6)
XYZxyz(23.6558, 41.2886, 16.1721)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C459 #C440AB
analogous
#69C440 #40C459 #40C49B
triadic
#40C459 #5940C4 #C45940
tetradic
#40C459 #4069C4 #C440AB #C49B40
square
#40C459 #4069C4 #C440AB #C49B40
split-complementary
#40C459 #9B40C4 #C44069
monochromatic
#20692E #2F9843 #40C459 #6FD282 #9EE1AA

Accessibility & contrast

On white

2.27
#40C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#40C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C459
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C459#FFFFFF#000000##000000
##40C4591.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34F
Deuteranopia (green-blind)
#B7A861
Tritanopia (blue-blind)
#0DC0AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c459;
/* rgb */ color: rgb(64, 196, 89);
/* oklch */ color: oklch(72.5% 0.187 146.6);
Tailwind
colors: {
  custom: {
    50: '#85d78a',
    500: '#40c459',
    950: '#000000',
  },
}
SCSS
$custom: #40c459;
$custom-light: #85d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c459",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 131.364,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.18685,
    "h": 146.6
  },
  "luminance": 0.41291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C459

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

Preview Lab → · Contrast checker → · Palette generator →

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