#40B745#40B745

#40B745 is a light, vivid green. Relative luminance 0.354; OKLCH L 68.9% C 0.187 H 143.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#40B745
RGBrgb(64, 183, 69)
HSLhsl(123, 48%, 48%)
HSVhsv(123, 65%, 72%)
CMYKcmyk(65%, 0%, 62.3%, 28.2%)
CIE-LABlab(66.05, -55.66, 47.20)
CIE-LCHlch(66.05, 72.98, 139.70°)
OKLaboklab(68.88% -0.1509 0.1103)
OKLCHoklch(68.88% 0.187 143.8)
XYZxyz(20.1208, 35.3846, 11.3986)
Luminance0.3539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B745 #B740B2
analogous
#76B740 #40B745 #40B780
triadic
#40B745 #4540B7 #B74540
tetradic
#40B745 #4076B7 #B740B2 #B78040
square
#40B745 #4076B7 #B740B2 #B78040
split-complementary
#40B745 #8040B7 #B74076
monochromatic
#205C23 #308A34 #40B745 #69CB6E #97DB9A

Accessibility & contrast

On white

2.60
#40B745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#40B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B745
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B745#FFFFFF#000000##000000
##40B7451.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA738
Deuteranopia (green-blind)
#AC9D4F
Tritanopia (blue-blind)
#24B29F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b745;
/* rgb */ color: rgb(64, 183, 69);
/* oklch */ color: oklch(68.9% 0.187 143.8);
Tailwind
colors: {
  custom: {
    50: '#83ce7d',
    500: '#40b745',
    950: '#000000',
  },
}
SCSS
$custom: #40b745;
$custom-light: #83ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b745",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 122.521,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68879,
    "c": 0.18695,
    "h": 143.8
  },
  "luminance": 0.35387
}

Semantic roles & 50–950 ramp

primary
#40B745
secondary
#C68DC4
accent
#50D2D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B745

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

Preview Lab → · Contrast checker → · Palette generator →

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