#40B74E#40B74E

#40B74E is a light, vivid green. Relative luminance 0.355; OKLCH L 69.0% C 0.180 H 145.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#40B74E
RGBrgb(64, 183, 78)
HSLhsl(127, 48%, 48%)
HSVhsv(127, 65%, 72%)
CMYKcmyk(65%, 0%, 57.4%, 28.2%)
CIE-LABlab(66.14, -54.58, 43.18)
CIE-LCHlch(66.14, 69.60, 141.65°)
OKLaboklab(68.99% -0.1476 0.1025)
OKLCHoklch(68.99% 0.18 145.2)
XYZxyz(20.4217, 35.5049, 12.9832)
Luminance0.3551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B74E #B740A9
analogous
#6DB740 #40B74E #40B789
triadic
#40B74E #4E40B7 #B74E40
tetradic
#40B74E #406DB7 #B740A9 #B78940
square
#40B74E #406DB7 #B740A9 #B78940
split-complementary
#40B74E #8940B7 #B7406D
monochromatic
#205C27 #308A3B #40B74E #69CB75 #97DB9F

Accessibility & contrast

On white

2.59
#40B74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#40B74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B74E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B74E#FFFFFF#000000##000000
##40B74E1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#AB9D56
Tritanopia (blue-blind)
#20B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b74e;
/* rgb */ color: rgb(64, 183, 78);
/* oklch */ color: oklch(69.0% 0.180 145.2);
Tailwind
colors: {
  custom: {
    50: '#83ce83',
    500: '#40b74e',
    950: '#000000',
  },
}
SCSS
$custom: #40b74e;
$custom-light: #83ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b74e",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 127.059,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68985,
    "c": 0.1797,
    "h": 145.2
  },
  "luminance": 0.35507
}

Semantic roles & 50–950 ramp

primary
#40B74E
secondary
#C68DBF
accent
#50C8D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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