#40B74C#40B74C

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

Color values

HEX#40B74C
RGBrgb(64, 183, 76)
HSLhsl(126, 48%, 48%)
HSVhsv(126, 65%, 72%)
CMYKcmyk(65%, 0%, 58.5%, 28.2%)
CIE-LABlab(66.12, -54.83, 44.09)
CIE-LCHlch(66.12, 70.36, 141.20°)
OKLaboklab(68.96% -0.1484 0.1043)
OKLCHoklch(68.96% 0.181 144.9)
XYZxyz(20.3511, 35.4767, 12.6113)
Luminance0.3548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B74C #B740AB
analogous
#70B740 #40B74C #40B787
triadic
#40B74C #4C40B7 #B74C40
tetradic
#40B74C #4070B7 #B740AB #B78740
square
#40B74C #4070B7 #B740AB #B78740
split-complementary
#40B74C #8740B7 #B74070
monochromatic
#205C26 #308A39 #40B74C #69CB73 #97DB9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B74C#FFFFFF#000000##000000
##40B74C1.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)
#BAA741
Deuteranopia (green-blind)
#AC9D55
Tritanopia (blue-blind)
#21B2A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b74c;
/* rgb */ color: rgb(64, 183, 76);
/* oklch */ color: oklch(69.0% 0.181 144.9);
Tailwind
colors: {
  custom: {
    50: '#83ce81',
    500: '#40b74c',
    950: '#000000',
  },
}
SCSS
$custom: #40b74c;
$custom-light: #83ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b74c",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 126.05,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6896,
    "c": 0.18135,
    "h": 144.9
  },
  "luminance": 0.35479
}

Semantic roles & 50–950 ramp

primary
#40B74C
secondary
#C68DC0
accent
#50CAD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B74C

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

Preview Lab → · Contrast checker → · Palette generator →

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