#40B74B#40B74B

#40B74B is a light, vivid green. Relative luminance 0.355; OKLCH L 68.9% C 0.182 H 144.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#40B74B
RGBrgb(64, 183, 75)
HSLhsl(126, 48%, 48%)
HSVhsv(126, 65%, 72%)
CMYKcmyk(65%, 0%, 59%, 28.2%)
CIE-LABlab(66.11, -54.96, 44.54)
CIE-LCHlch(66.11, 70.74, 140.97°)
OKLaboklab(68.95% -0.1488 0.1052)
OKLCHoklch(68.95% 0.182 144.7)
XYZxyz(20.3166, 35.4629, 12.4296)
Luminance0.3547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B74B #B740AC
analogous
#70B740 #40B74B #40B786
triadic
#40B74B #4B40B7 #B74B40
tetradic
#40B74B #4070B7 #B740AC #B78640
square
#40B74B #4070B7 #B740AC #B78640
split-complementary
#40B74B #8640B7 #B74070
monochromatic
#205C26 #308A38 #40B74B #69CB72 #97DB9D

Accessibility & contrast

On white

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

On black

8.09
#40B74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B74B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B74B#FFFFFF#000000##000000
##40B74B1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA740
Deuteranopia (green-blind)
#AC9D54
Tritanopia (blue-blind)
#21B29F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b74b;
/* rgb */ color: rgb(64, 183, 75);
/* oklch */ color: oklch(68.9% 0.182 144.7);
Tailwind
colors: {
  custom: {
    50: '#83ce81',
    500: '#40b74b',
    950: '#000000',
  },
}
SCSS
$custom: #40b74b;
$custom-light: #83ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b74b",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 125.546,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.18218,
    "h": 144.7
  },
  "luminance": 0.35465
}

Semantic roles & 50–950 ramp

primary
#40B74B
secondary
#C68DC1
accent
#50CBD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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