#40C262#40C262

#40C262 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.1% C 0.176 H 148.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#40C262
RGBrgb(64, 194, 98)
HSLhsl(136, 52%, 51%)
HSVhsv(136, 67%, 76%)
CMYKcmyk(67%, 0%, 49.5%, 23.9%)
CIE-LABlab(69.86, -55.79, 38.00)
CIE-LCHlch(69.86, 67.50, 145.74°)
OKLaboklab(72.14% -0.1504 0.0922)
OKLCHoklch(72.14% 0.176 148.5)
XYZxyz(23.6090, 40.5529, 18.1362)
Luminance0.4056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C262 #C240A0
analogous
#5FC240 #40C262 #40C2A3
triadic
#40C262 #6240C2 #C26240
tetradic
#40C262 #405FC2 #C240A0 #C2A340
square
#40C262 #405FC2 #C240A0 #C2A340
split-complementary
#40C262 #A340C2 #C2405F
monochromatic
#216733 #30954A #40C262 #6ED188 #9DE0AE

Accessibility & contrast

On white

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

On black

9.11
#40C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C262
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C262#FFFFFF#000000##000000
##40C2621.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B15A
Deuteranopia (green-blind)
#B4A669
Tritanopia (blue-blind)
#04BEAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c262;
/* rgb */ color: rgb(64, 194, 98);
/* oklch */ color: oklch(72.1% 0.176 148.5);
Tailwind
colors: {
  custom: {
    50: '#84d590',
    500: '#40c262',
    950: '#000000',
  },
}
SCSS
$custom: #40c262;
$custom-light: #84d590;
$custom-dark: #000000;
JSON
{
  "hex": "#40c262",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 135.692,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72138,
    "c": 0.17641,
    "h": 148.5
  },
  "luminance": 0.40555
}

Semantic roles & 50–950 ramp

primary
#40C262
secondary
#CC92BD
accent
#4DB6DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D

Preview Lab

Preview with #40C262

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

Preview Lab → · Contrast checker → · Palette generator →

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