#40C046#40C046

#40C046 is a light, vivid green. Relative luminance 0.392; OKLCH L 71.3% C 0.197 H 143.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#40C046
RGBrgb(64, 192, 70)
HSLhsl(123, 50%, 50%)
HSVhsv(123, 67%, 75%)
CMYKcmyk(66.7%, 0%, 63.5%, 24.7%)
CIE-LABlab(68.92, -58.71, 49.98)
CIE-LCHlch(68.92, 77.11, 139.59°)
OKLaboklab(71.26% -0.1591 0.1164)
OKLCHoklch(71.26% 0.197 143.8)
XYZxyz(22.0681, 39.2292, 12.2022)
Luminance0.3923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C046 #C040BA
analogous
#7AC040 #40C046 #40C086
triadic
#40C046 #4640C0 #C04640
tetradic
#40C046 #407AC0 #C040BA #C08640
square
#40C046 #407AC0 #C040BA #C08640
split-complementary
#40C046 #8640C0 #C0407A
monochromatic
#216424 #309235 #40C046 #6ECF73 #9CDE9F

Accessibility & contrast

On white

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

On black

8.85
#40C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C046
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C046#FFFFFF#000000##000000
##40C0461.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c046;
/* rgb */ color: rgb(64, 192, 70);
/* oklch */ color: oklch(71.3% 0.197 143.8);
Tailwind
colors: {
  custom: {
    50: '#85d47e',
    500: '#40c046',
    950: '#000000',
  },
}
SCSS
$custom: #40c046;
$custom-light: #85d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c046",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 122.813,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71256,
    "c": 0.19715,
    "h": 143.8
  },
  "luminance": 0.39231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C046

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

Preview Lab → · Contrast checker → · Palette generator →

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