#40C045#40C045

#40C045 is a light, vivid green. Relative luminance 0.392; OKLCH L 71.2% C 0.198 H 143.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#40C045
RGBrgb(64, 192, 69)
HSLhsl(122, 50%, 50%)
HSVhsv(122, 67%, 75%)
CMYKcmyk(66.7%, 0%, 64.1%, 24.7%)
CIE-LABlab(68.91, -58.82, 50.40)
CIE-LCHlch(68.91, 77.46, 139.40°)
OKLaboklab(71.25% -0.1595 0.1172)
OKLCHoklch(71.25% 0.198 143.7)
XYZxyz(22.0368, 39.2166, 12.0373)
Luminance0.3922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C045 #C040BB
analogous
#7BC040 #40C045 #40C085
triadic
#40C045 #4540C0 #C04540
tetradic
#40C045 #407BC0 #C040BB #C08540
square
#40C045 #407BC0 #C040BB #C08540
split-complementary
#40C045 #8540C0 #C0407B
monochromatic
#216424 #309234 #40C045 #6ECF72 #9CDE9F

Accessibility & contrast

On white

2.37
#40C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#40C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C045
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C045#FFFFFF#000000##000000
##40C0451.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF36
Deuteranopia (green-blind)
#B4A450
Tritanopia (blue-blind)
#1EBBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c045;
/* rgb */ color: rgb(64, 192, 69);
/* oklch */ color: oklch(71.2% 0.198 143.7);
Tailwind
colors: {
  custom: {
    50: '#85d47e',
    500: '#40c045',
    950: '#000000',
  },
}
SCSS
$custom: #40c045;
$custom-light: #85d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c045",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 122.344,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.19788,
    "h": 143.7
  },
  "luminance": 0.39219
}

Semantic roles & 50–950 ramp

primary
#40C045
secondary
#CB91C8
accent
#4ED4DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C045

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

Preview Lab → · Contrast checker → · Palette generator →

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