#40B35D#40B35D

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

Color values

HEX#40B35D
RGBrgb(64, 179, 93)
HSLhsl(135, 47%, 48%)
HSVhsv(135, 64%, 70%)
CMYKcmyk(64.2%, 0%, 48%, 29.8%)
CIE-LABlab(65.06, -50.95, 34.49)
CIE-LCHlch(65.06, 61.53, 145.91°)
OKLaboklab(68.15% -0.1375 0.0841)
OKLCHoklch(68.15% 0.161 148.6)
XYZxyz(20.2088, 34.1184, 15.8743)
Luminance0.3412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B35D #B34096
analogous
#5DB340 #40B35D #40B396
triadic
#40B35D #5D40B3 #B35D40
tetradic
#40B35D #405DB3 #B34096 #B39640
square
#40B35D #405DB3 #B34096 #B39640
split-complementary
#40B35D #9640B3 #B3405D
monochromatic
#20592E #308646 #40B35D #67C980 #94D9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B35D#FFFFFF#000000##000000
##40B35D1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A456
Deuteranopia (green-blind)
#A69A63
Tritanopia (blue-blind)
#1AB09F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b35d;
/* rgb */ color: rgb(64, 179, 93);
/* oklch */ color: oklch(68.2% 0.161 148.6);
Tailwind
colors: {
  custom: {
    50: '#82cb8c',
    500: '#40b35d',
    950: '#000000',
  },
}
SCSS
$custom: #40b35d;
$custom-light: #82cb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b35d",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 93
  },
  "hsl": {
    "h": 135.13,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68152,
    "c": 0.16117,
    "h": 148.6
  },
  "luminance": 0.34121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B35D

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

Preview Lab → · Contrast checker → · Palette generator →

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