#40A266#40A266

#40A266 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.9% C 0.129 H 153.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#40A266
RGBrgb(64, 162, 102)
HSLhsl(143, 43%, 44%)
HSVhsv(143, 60%, 64%)
CMYKcmyk(60.5%, 0%, 37%, 36.5%)
CIE-LABlab(59.79, -42.59, 22.91)
CIE-LCHlch(59.79, 48.36, 151.73°)
OKLaboklab(63.87% -0.1155 0.0574)
OKLCHoklch(63.87% 0.129 153.6)
XYZxyz(17.4316, 27.8883, 17.0321)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A266 #A2407C
analogous
#4BA240 #40A266 #40A297
triadic
#40A266 #6640A2 #A26640
tetradic
#40A266 #404BA2 #A2407C #A29740
square
#40A266 #404BA2 #A2407C #A29740
split-complementary
#40A266 #9740A2 #A2404B
monochromatic
#1D4A2F #2F764A #40A266 #5FC085 #8BD1A6

Accessibility & contrast

On white

3.19
#40A266 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#40A266 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A266
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A266#FFFFFF#000000##000000
##40A2661.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29662
Deuteranopia (green-blind)
#958C6A
Tritanopia (blue-blind)
#1EA093
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a266;
/* rgb */ color: rgb(64, 162, 102);
/* oklch */ color: oklch(63.9% 0.129 153.6);
Tailwind
colors: {
  custom: {
    50: '#7ebe92',
    500: '#40a266',
    950: '#000000',
  },
}
SCSS
$custom: #40a266;
$custom-light: #7ebe92;
$custom-dark: #000000;
JSON
{
  "hex": "#40a266",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 102
  },
  "hsl": {
    "h": 143.265,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63866,
    "c": 0.12892,
    "h": 153.6
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#40A266
secondary
#BC82A5
accent
#55A2D3
background
#F8FBF9
surface
#EFF7F1
border
#CAD0CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A266

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

Preview Lab → · Contrast checker → · Palette generator →

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