#40C268#40C268

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

Color values

HEX#40C268
RGBrgb(64, 194, 104)
HSLhsl(138, 52%, 51%)
HSVhsv(138, 67%, 76%)
CMYKcmyk(67%, 0%, 46.4%, 23.9%)
CIE-LABlab(69.94, -54.85, 35.09)
CIE-LCHlch(69.94, 65.11, 147.39°)
OKLaboklab(72.23% -0.1478 0.0859)
OKLCHoklch(72.23% 0.171 149.8)
XYZxyz(23.9030, 40.6705, 19.6845)
Luminance0.4067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C268 #C2409A
analogous
#59C240 #40C268 #40C2A9
triadic
#40C268 #6840C2 #C26840
tetradic
#40C268 #4059C2 #C2409A #C2A940
square
#40C268 #4059C2 #C2409A #C2A940
split-complementary
#40C268 #A940C2 #C24059
monochromatic
#216736 #30954F #40C268 #6ED18D #9DE0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C268#FFFFFF#000000##000000
##40C2681.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)
#C3B261
Deuteranopia (green-blind)
#B3A66E
Tritanopia (blue-blind)
#00BFAD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c268;
/* rgb */ color: rgb(64, 194, 104);
/* oklch */ color: oklch(72.2% 0.171 149.8);
Tailwind
colors: {
  custom: {
    50: '#84d594',
    500: '#40c268',
    950: '#000000',
  },
}
SCSS
$custom: #40c268;
$custom-light: #84d594;
$custom-dark: #000000;
JSON
{
  "hex": "#40c268",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 104
  },
  "hsl": {
    "h": 138.462,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.17098,
    "h": 149.8
  },
  "luminance": 0.40673
}

Semantic roles & 50–950 ramp

primary
#40C268
secondary
#CC92BA
accent
#4DAFDB
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C268

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

Preview Lab → · Contrast checker → · Palette generator →

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