#40C05B#40C05B

#40C05B is a light, vivid green. Relative luminance 0.395; OKLCH L 71.5% C 0.180 H 147.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#40C05B
RGBrgb(64, 192, 91)
HSLhsl(133, 50%, 50%)
HSVhsv(133, 67%, 75%)
CMYKcmyk(66.7%, 0%, 52.6%, 24.7%)
CIE-LABlab(69.14, -56.09, 40.55)
CIE-LCHlch(69.14, 69.21, 144.14°)
OKLaboklab(71.52% -0.1513 0.0976)
OKLCHoklch(71.52% 0.18 147.2)
XYZxyz(22.8507, 39.5422, 16.3237)
Luminance0.3955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C05B #C040A5
analogous
#65C040 #40C05B #40C09B
triadic
#40C05B #5B40C0 #C05B40
tetradic
#40C05B #4065C0 #C040A5 #C09B40
square
#40C05B #4065C0 #C040A5 #C09B40
split-complementary
#40C05B #9B40C0 #C04065
monochromatic
#21642F #309245 #40C05B #6ECF83 #9CDEAA

Accessibility & contrast

On white

2.36
#40C05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#40C05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C05B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C05B#FFFFFF#000000##000000
##40C05B1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF52
Deuteranopia (green-blind)
#B3A562
Tritanopia (blue-blind)
#10BCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c05b;
/* rgb */ color: rgb(64, 192, 91);
/* oklch */ color: oklch(71.5% 0.180 147.2);
Tailwind
colors: {
  custom: {
    50: '#84d48b',
    500: '#40c05b',
    950: '#000000',
  },
}
SCSS
$custom: #40c05b;
$custom-light: #84d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c05b",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 132.656,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71515,
    "c": 0.18004,
    "h": 147.2
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#40C05B
secondary
#CB91BE
accent
#4EBCDA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C05B

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

Preview Lab → · Contrast checker → · Palette generator →

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