#40A13E#40A13E

#40A13E is a light, vivid green. Relative luminance 0.269; OKLCH L 63.0% C 0.165 H 143.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#40A13E
RGBrgb(64, 161, 62)
HSLhsl(119, 44%, 44%)
HSVhsv(119, 61%, 63%)
CMYKcmyk(60.2%, 0%, 61.5%, 36.9%)
CIE-LABlab(58.91, -48.37, 42.27)
CIE-LCHlch(58.91, 64.23, 138.85°)
OKLaboklab(62.96% -0.1315 0.0991)
OKLCHoklch(62.96% 0.165 143)
XYZxyz(15.7279, 26.9261, 8.9249)
Luminance0.2693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A13E #9F3EA1
analogous
#71A13E #40A13E #3EA16D
triadic
#40A13E #3E40A1 #A13E40
tetradic
#40A13E #3E71A1 #9F3EA1 #A16D3E
square
#40A13E #3E71A1 #9F3EA1 #A16D3E
split-complementary
#40A13E #6D3EA1 #A13E71
monochromatic
#1D491C #2E752D #40A13E #5EC05C #8AD188

Accessibility & contrast

On white

3.29
#40A13E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#40A13E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A13E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A13E#FFFFFF#000000##000000
##40A13E1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49333
Deuteranopia (green-blind)
#988B46
Tritanopia (blue-blind)
#2F9D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a13e;
/* rgb */ color: rgb(64, 161, 62);
/* oklch */ color: oklch(63.0% 0.165 143.0);
Tailwind
colors: {
  custom: {
    50: '#7fbe77',
    500: '#40a13e',
    950: '#000000',
  },
}
SCSS
$custom: #40a13e;
$custom-light: #7fbe77;
$custom-dark: #000000;
JSON
{
  "hex": "#40a13e",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 118.788,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62958,
    "c": 0.16467,
    "h": 143
  },
  "luminance": 0.26928
}

Semantic roles & 50–950 ramp

primary
#40A13E
secondary
#BB7FBC
accent
#54D4D2
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A13E

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

Preview Lab → · Contrast checker → · Palette generator →

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