#40D266#40D266

#40D266 is a light, vivid green. Relative luminance 0.481; OKLCH L 76.3% C 0.193 H 148.1°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#40D266
RGBrgb(64, 210, 102)
HSLhsl(136, 62%, 54%)
HSVhsv(136, 70%, 82%)
CMYKcmyk(69.5%, 0%, 51.4%, 17.6%)
CIE-LABlab(74.91, -60.94, 42.29)
CIE-LCHlch(74.91, 74.17, 145.24°)
OKLaboklab(76.33% -0.1641 0.1021)
OKLCHoklch(76.33% 0.193 148.1)
XYZxyz(27.5571, 48.1394, 20.4073)
Luminance0.4814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D266 #D240AC
analogous
#63D240 #40D266 #40D2AF
triadic
#40D266 #6640D2 #D26640
tetradic
#40D266 #4063D2 #D240AC #D2AF40
square
#40D266 #4063D2 #D240AC #D2AF40
split-complementary
#40D266 #AF40D2 #D24063
monochromatic
#1D7B35 #29AC4B #40D266 #72DE8E #A3E9B5

Accessibility & contrast

On white

1.98
#40D266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#40D266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D266
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D266#FFFFFF#000000##000000
##40D2661.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#C3B46E
Tritanopia (blue-blind)
#00CEB9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d266;
/* rgb */ color: rgb(64, 210, 102);
/* oklch */ color: oklch(76.3% 0.193 148.1);
Tailwind
colors: {
  custom: {
    50: '#87e194',
    500: '#40d266',
    950: '#000000',
  },
}
SCSS
$custom: #40d266;
$custom-light: #87e194;
$custom-dark: #000000;
JSON
{
  "hex": "#40d266",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 135.616,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76327,
    "c": 0.19327,
    "h": 148.1
  },
  "luminance": 0.48142
}

Semantic roles & 50–950 ramp

primary
#40D266
secondary
#D698C6
accent
#43BBE5
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #40D266

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

Preview Lab → · Contrast checker → · Palette generator →

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