#40A35E#40A35E

#40A35E is a light, vivid green. Relative luminance 0.281; OKLCH L 64.0% C 0.138 H 150.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#40A35E
RGBrgb(64, 163, 94)
HSLhsl(138, 44%, 45%)
HSVhsv(138, 61%, 64%)
CMYKcmyk(60.7%, 0%, 42.3%, 36.1%)
CIE-LABlab(59.97, -44.48, 27.46)
CIE-LCHlch(59.97, 52.27, 148.31°)
OKLaboklab(63.97% -0.1203 0.0679)
OKLCHoklch(63.97% 0.138 150.5)
XYZxyz(17.2306, 28.0909, 15.1015)
Luminance0.2809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A35E #A34085
analogous
#54A340 #40A35E #40A390
triadic
#40A35E #5E40A3 #A35E40
tetradic
#40A35E #4054A3 #A34085 #A39040
square
#40A35E #4054A3 #A34085 #A39040
split-complementary
#40A35E #9040A3 #A34054
monochromatic
#1D4B2B #2F7745 #40A35E #60C07D #8CD2A1

Accessibility & contrast

On white

3.17
#40A35E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#40A35E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A35E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A35E#FFFFFF#000000##000000
##40A35E1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49659
Deuteranopia (green-blind)
#978D63
Tritanopia (blue-blind)
#22A092
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a35e;
/* rgb */ color: rgb(64, 163, 94);
/* oklch */ color: oklch(64.0% 0.138 150.5);
Tailwind
colors: {
  custom: {
    50: '#7fbf8c',
    500: '#40a35e',
    950: '#000000',
  },
}
SCSS
$custom: #40a35e;
$custom-light: #7fbf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a35e",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 94
  },
  "hsl": {
    "h": 138.182,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.13812,
    "h": 150.5
  },
  "luminance": 0.28093
}

Semantic roles & 50–950 ramp

primary
#40A35E
secondary
#BD82AB
accent
#54ADD3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A35E

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

Preview Lab → · Contrast checker → · Palette generator →

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