#40C26B#40C26B

#40C26B is a light, vivid green. Relative luminance 0.407; OKLCH L 72.3% C 0.168 H 150.6°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#40C26B
RGBrgb(64, 194, 107)
HSLhsl(140, 52%, 51%)
HSVhsv(140, 67%, 76%)
CMYKcmyk(67%, 0%, 44.8%, 23.9%)
CIE-LABlab(69.99, -54.35, 33.62)
CIE-LCHlch(69.99, 63.91, 148.26°)
OKLaboklab(72.28% -0.1465 0.0826)
OKLCHoklch(72.28% 0.168 150.6)
XYZxyz(24.0581, 40.7325, 20.5013)
Luminance0.4073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C26B #C24097
analogous
#56C240 #40C26B #40C2AC
triadic
#40C26B #6B40C2 #C26B40
tetradic
#40C26B #4056C2 #C24097 #C2AC40
square
#40C26B #4056C2 #C24097 #C2AC40
split-complementary
#40C26B #AC40C2 #C24056
monochromatic
#216738 #309551 #40C26B #6ED18F #9DE0B3

Accessibility & contrast

On white

2.30
#40C26B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#40C26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C26B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C26B#FFFFFF#000000##000000
##40C26B1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B264
Deuteranopia (green-blind)
#B3A771
Tritanopia (blue-blind)
#00BFAD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c26b;
/* rgb */ color: rgb(64, 194, 107);
/* oklch */ color: oklch(72.3% 0.168 150.6);
Tailwind
colors: {
  custom: {
    50: '#84d596',
    500: '#40c26b',
    950: '#000000',
  },
}
SCSS
$custom: #40c26b;
$custom-light: #84d596;
$custom-dark: #000000;
JSON
{
  "hex": "#40c26b",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 107
  },
  "hsl": {
    "h": 139.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72284,
    "c": 0.16823,
    "h": 150.6
  },
  "luminance": 0.40735
}

Semantic roles & 50–950 ramp

primary
#40C26B
secondary
#CC92B9
accent
#4DACDB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C26B

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

Preview Lab → · Contrast checker → · Palette generator →

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