#40B35E#40B35E

#40B35E is a light, vivid green. Relative luminance 0.341; OKLCH L 68.2% C 0.160 H 148.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#40B35E
RGBrgb(64, 179, 94)
HSLhsl(136, 47%, 48%)
HSVhsv(136, 64%, 70%)
CMYKcmyk(64.2%, 0%, 47.5%, 29.8%)
CIE-LABlab(65.07, -50.80, 34.00)
CIE-LCHlch(65.07, 61.12, 146.21°)
OKLaboklab(68.17% -0.1371 0.083)
OKLCHoklch(68.17% 0.16 148.8)
XYZxyz(20.2533, 34.1363, 16.1091)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B35E #B34095
analogous
#5CB340 #40B35E #40B397
triadic
#40B35E #5E40B3 #B35E40
tetradic
#40B35E #405CB3 #B34095 #B39740
square
#40B35E #405CB3 #B34095 #B39740
split-complementary
#40B35E #9740B3 #B3405C
monochromatic
#20592F #308646 #40B35E #67C981 #94D9A6

Accessibility & contrast

On white

2.68
#40B35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#40B35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B35E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B35E#FFFFFF#000000##000000
##40B35E1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A457
Deuteranopia (green-blind)
#A69A64
Tritanopia (blue-blind)
#19B09F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b35e;
/* rgb */ color: rgb(64, 179, 94);
/* oklch */ color: oklch(68.2% 0.160 148.8);
Tailwind
colors: {
  custom: {
    50: '#82cb8d',
    500: '#40b35e',
    950: '#000000',
  },
}
SCSS
$custom: #40b35e;
$custom-light: #82cb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b35e",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 94
  },
  "hsl": {
    "h": 135.652,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68169,
    "c": 0.16024,
    "h": 148.8
  },
  "luminance": 0.34138
}

Semantic roles & 50–950 ramp

primary
#40B35E
secondary
#C48AB5
accent
#51B4D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B35E

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

Preview Lab → · Contrast checker → · Palette generator →

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