#40B266#40B266

#40B266 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.0% C 0.151 H 151.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#40B266
RGBrgb(64, 178, 102)
HSLhsl(140, 47%, 47%)
HSVhsv(140, 64%, 70%)
CMYKcmyk(64%, 0%, 42.7%, 30.2%)
CIE-LABlab(64.87, -49.07, 29.61)
CIE-LCHlch(64.87, 57.31, 148.90°)
OKLaboklab(68.05% -0.1325 0.0732)
OKLCHoklch(68.05% 0.151 151.1)
XYZxyz(20.4314, 33.8880, 18.0321)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B266 #B2408C
analogous
#53B240 #40B266 #40B29F
triadic
#40B266 #6640B2 #B26640
tetradic
#40B266 #4053B2 #B2408C #B29F40
square
#40B266 #4053B2 #B2408C #B29F40
split-complementary
#40B266 #9F40B2 #B24053
monochromatic
#205832 #30854C #40B266 #67C887 #94D8AB

Accessibility & contrast

On white

2.70
#40B266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#40B266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B266
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B266#FFFFFF#000000##000000
##40B2661.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A460
Deuteranopia (green-blind)
#A4996B
Tritanopia (blue-blind)
#13AF9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b266;
/* rgb */ color: rgb(64, 178, 102);
/* oklch */ color: oklch(68.0% 0.151 151.1);
Tailwind
colors: {
  custom: {
    50: '#81ca92',
    500: '#40b266',
    950: '#000000',
  },
}
SCSS
$custom: #40b266;
$custom-light: #81ca92;
$custom-dark: #000000;
JSON
{
  "hex": "#40b266",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 102
  },
  "hsl": {
    "h": 140,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68045,
    "c": 0.15138,
    "h": 151.1
  },
  "luminance": 0.3389
}

Semantic roles & 50–950 ramp

primary
#40B266
secondary
#C48AB1
accent
#51AAD7
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B266

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

Preview Lab → · Contrast checker → · Palette generator →

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