#40C266#40C266

#40C266 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.2% C 0.173 H 149.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#40C266
RGBrgb(64, 194, 102)
HSLhsl(138, 52%, 51%)
HSVhsv(138, 67%, 76%)
CMYKcmyk(67%, 0%, 47.4%, 23.9%)
CIE-LABlab(69.92, -55.17, 36.06)
CIE-LCHlch(69.92, 65.91, 146.83°)
OKLaboklab(72.2% -0.1487 0.088)
OKLCHoklch(72.2% 0.173 149.4)
XYZxyz(23.8026, 40.6303, 19.1558)
Luminance0.4063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C266 #C2409C
analogous
#5BC240 #40C266 #40C2A7
triadic
#40C266 #6640C2 #C26640
tetradic
#40C266 #405BC2 #C2409C #C2A740
square
#40C266 #405BC2 #C2409C #C2A740
split-complementary
#40C266 #A740C2 #C2405B
monochromatic
#216735 #30954D #40C266 #6ED18B #9DE0B0

Accessibility & contrast

On white

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

On black

9.13
#40C266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C266
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C266#FFFFFF#000000##000000
##40C2661.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B25F
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#00BEAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c266;
/* rgb */ color: rgb(64, 194, 102);
/* oklch */ color: oklch(72.2% 0.173 149.4);
Tailwind
colors: {
  custom: {
    50: '#84d593',
    500: '#40c266',
    950: '#000000',
  },
}
SCSS
$custom: #40c266;
$custom-light: #84d593;
$custom-dark: #000000;
JSON
{
  "hex": "#40c266",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 137.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72201,
    "c": 0.1728,
    "h": 149.4
  },
  "luminance": 0.40633
}

Semantic roles & 50–950 ramp

primary
#40C266
secondary
#CC92BB
accent
#4DB1DB
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C266

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

Preview Lab → · Contrast checker → · Palette generator →

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