#40C845#40C845

#40C845 is a light, highly saturated green. Relative luminance 0.428; OKLCH L 73.3% C 0.207 H 143.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#40C845
RGBrgb(64, 200, 69)
HSLhsl(122, 55%, 52%)
HSVhsv(122, 68%, 78%)
CMYKcmyk(68%, 0%, 65.5%, 21.6%)
CIE-LABlab(71.44, -61.55, 53.19)
CIE-LCHlch(71.44, 81.35, 139.17°)
OKLaboklab(73.34% -0.1669 0.1231)
OKLCHoklch(73.34% 0.207 143.6)
XYZxyz(23.8413, 42.8257, 12.6388)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C845 #C840C3
analogous
#7FC840 #40C845 #40C889
triadic
#40C845 #4540C8 #C84540
tetradic
#40C845 #407FC8 #C840C3 #C88940
square
#40C845 #407FC8 #C840C3 #C88940
split-complementary
#40C845 #8940C8 #C8407F
monochromatic
#206E23 #2D9D31 #40C845 #70D673 #9FE3A2

Accessibility & contrast

On white

2.20
#40C845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#40C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C845
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C845#FFFFFF#000000##000000
##40C8451.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB634
Deuteranopia (green-blind)
#BCAB51
Tritanopia (blue-blind)
#18C2AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c845;
/* rgb */ color: rgb(64, 200, 69);
/* oklch */ color: oklch(73.3% 0.207 143.6);
Tailwind
colors: {
  custom: {
    50: '#87da7e',
    500: '#40c845',
    950: '#000000',
  },
}
SCSS
$custom: #40c845;
$custom-light: #87da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c845",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 122.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73339,
    "c": 0.20736,
    "h": 143.6
  },
  "luminance": 0.42828
}

Semantic roles & 50–950 ramp

primary
#40C845
secondary
#D094CE
accent
#49D9DF
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40C845

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

Preview Lab → · Contrast checker → · Palette generator →

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