#40A366#40A366

#40A366 is a light, vivid green. Relative luminance 0.282; OKLCH L 64.1% C 0.130 H 153.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#40A366
RGBrgb(64, 163, 102)
HSLhsl(143, 44%, 45%)
HSVhsv(143, 61%, 64%)
CMYKcmyk(60.7%, 0%, 37.4%, 36.1%)
CIE-LABlab(60.11, -43.01, 23.33)
CIE-LCHlch(60.11, 48.93, 151.52°)
OKLaboklab(64.13% -0.1166 0.0584)
OKLCHoklch(64.13% 0.13 153.4)
XYZxyz(17.6084, 28.2420, 17.0911)
Luminance0.2824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A366 #A3407D
analogous
#4CA340 #40A366 #40A397
triadic
#40A366 #6640A3 #A36640
tetradic
#40A366 #404CA3 #A3407D #A39740
square
#40A366 #404CA3 #A3407D #A39740
split-complementary
#40A366 #9740A3 #A3404C
monochromatic
#1D4B2F #2F774B #40A366 #60C085 #8CD2A7

Accessibility & contrast

On white

3.16
#40A366 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#40A366 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A366
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A366#FFFFFF#000000##000000
##40A3661.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39662
Deuteranopia (green-blind)
#968D6A
Tritanopia (blue-blind)
#1DA193
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a366;
/* rgb */ color: rgb(64, 163, 102);
/* oklch */ color: oklch(64.1% 0.130 153.4);
Tailwind
colors: {
  custom: {
    50: '#7fbf92',
    500: '#40a366',
    950: '#000000',
  },
}
SCSS
$custom: #40a366;
$custom-light: #7fbf92;
$custom-dark: #000000;
JSON
{
  "hex": "#40a366",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 143.03,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64128,
    "c": 0.13036,
    "h": 153.4
  },
  "luminance": 0.28244
}

Semantic roles & 50–950 ramp

primary
#40A366
secondary
#BD82A6
accent
#54A3D3
background
#F8FBF9
surface
#EFF7F1
border
#CAD0CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A366

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

Preview Lab → · Contrast checker → · Palette generator →

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