#40C041#40C041

#40C041 is a light, highly saturated green. Relative luminance 0.392; OKLCH L 71.2% C 0.201 H 143.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#40C041
RGBrgb(64, 192, 65)
HSLhsl(120, 50%, 50%)
HSVhsv(120, 67%, 75%)
CMYKcmyk(66.7%, 0%, 66.1%, 24.7%)
CIE-LABlab(68.87, -59.23, 52.05)
CIE-LCHlch(68.87, 78.85, 138.69°)
OKLaboklab(71.21% -0.1608 0.1202)
OKLCHoklch(71.21% 0.201 143.2)
XYZxyz(21.9168, 39.1686, 11.4053)
Luminance0.3917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C041 #C040BF
analogous
#7FC040 #40C041 #40C081
triadic
#40C041 #4140C0 #C04140
tetradic
#40C041 #407FC0 #C040BF #C08140
square
#40C041 #407FC0 #C040BF #C08140
split-complementary
#40C041 #8140C0 #C0407F
monochromatic
#216422 #309231 #40C041 #6ECF6F #9CDE9D

Accessibility & contrast

On white

2.38
#40C041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#40C041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C041
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C041#FFFFFF#000000##000000
##40C0411.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#20BBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c041;
/* rgb */ color: rgb(64, 192, 65);
/* oklch */ color: oklch(71.2% 0.201 143.2);
Tailwind
colors: {
  custom: {
    50: '#85d47b',
    500: '#40c041',
    950: '#000000',
  },
}
SCSS
$custom: #40c041;
$custom-light: #85d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c041",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 120.469,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71205,
    "c": 0.20076,
    "h": 143.2
  },
  "luminance": 0.39171
}

Semantic roles & 50–950 ramp

primary
#40C041
secondary
#CB91CA
accent
#4ED9DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C041

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

Preview Lab → · Contrast checker → · Palette generator →

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