#40B74F#40B74F

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

Color values

HEX#40B74F
RGBrgb(64, 183, 79)
HSLhsl(128, 48%, 48%)
HSVhsv(128, 65%, 72%)
CMYKcmyk(65%, 0%, 56.8%, 28.2%)
CIE-LABlab(66.15, -54.45, 42.72)
CIE-LCHlch(66.15, 69.21, 141.88°)
OKLaboklab(69% -0.1472 0.1015)
OKLCHoklch(69% 0.179 145.4)
XYZxyz(20.4578, 35.5194, 13.1734)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B74F #B740A8
analogous
#6CB740 #40B74F #40B78A
triadic
#40B74F #4F40B7 #B74F40
tetradic
#40B74F #406CB7 #B740A8 #B78A40
square
#40B74F #406CB7 #B740A8 #B78A40
split-complementary
#40B74F #8A40B7 #B7406C
monochromatic
#205C28 #308A3B #40B74F #69CB76 #97DB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B74F#FFFFFF#000000##000000
##40B74F1.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)
#BAA745
Deuteranopia (green-blind)
#AB9D57
Tritanopia (blue-blind)
#1FB3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b74f;
/* rgb */ color: rgb(64, 183, 79);
/* oklch */ color: oklch(69.0% 0.179 145.4);
Tailwind
colors: {
  custom: {
    50: '#83ce83',
    500: '#40b74f',
    950: '#000000',
  },
}
SCSS
$custom: #40b74f;
$custom-light: #83ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b74f",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 127.563,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68998,
    "c": 0.17885,
    "h": 145.4
  },
  "luminance": 0.35521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B74F

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

Preview Lab → · Contrast checker → · Palette generator →

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