#40B35C#40B35C

#40B35C is a light, vivid green. Relative luminance 0.341; OKLCH L 68.1% C 0.162 H 148.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#40B35C
RGBrgb(64, 179, 92)
HSLhsl(135, 47%, 48%)
HSVhsv(135, 64%, 70%)
CMYKcmyk(64.2%, 0%, 48.6%, 29.8%)
CIE-LABlab(65.04, -51.11, 34.98)
CIE-LCHlch(65.04, 61.94, 145.61°)
OKLaboklab(68.14% -0.1379 0.0851)
OKLCHoklch(68.14% 0.162 148.3)
XYZxyz(20.1648, 34.1008, 15.6426)
Luminance0.3410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B35C #B34097
analogous
#5DB340 #40B35C #40B396
triadic
#40B35C #5C40B3 #B35C40
tetradic
#40B35C #405DB3 #B34097 #B39640
square
#40B35C #405DB3 #B34097 #B39640
split-complementary
#40B35C #9640B3 #B3405D
monochromatic
#20592E #308645 #40B35C #67C97F #94D9A5

Accessibility & contrast

On white

2.69
#40B35C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#40B35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B35C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B35C#FFFFFF#000000##000000
##40B35C1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A455
Deuteranopia (green-blind)
#A69A62
Tritanopia (blue-blind)
#1AAF9F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b35c;
/* rgb */ color: rgb(64, 179, 92);
/* oklch */ color: oklch(68.1% 0.162 148.3);
Tailwind
colors: {
  custom: {
    50: '#82cb8c',
    500: '#40b35c',
    950: '#000000',
  },
}
SCSS
$custom: #40b35c;
$custom-light: #82cb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b35c",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 92
  },
  "hsl": {
    "h": 134.609,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68136,
    "c": 0.16209,
    "h": 148.3
  },
  "luminance": 0.34103
}

Semantic roles & 50–950 ramp

primary
#40B35C
secondary
#C48AB6
accent
#51B6D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B35C

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

Preview Lab → · Contrast checker → · Palette generator →

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