#40B741#40B741

#40B741 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.8% C 0.190 H 143.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#40B741
RGBrgb(64, 183, 65)
HSLhsl(121, 48%, 48%)
HSVhsv(121, 65%, 72%)
CMYKcmyk(65%, 0%, 64.5%, 28.2%)
CIE-LABlab(66.01, -56.09, 48.91)
CIE-LCHlch(66.01, 74.42, 138.91°)
OKLaboklab(68.84% -0.1523 0.1136)
OKLCHoklch(68.84% 0.19 143.3)
XYZxyz(20.0008, 35.3366, 10.7666)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B741 #B740B6
analogous
#7AB740 #40B741 #40B77C
triadic
#40B741 #4140B7 #B74140
tetradic
#40B741 #407AB7 #B740B6 #B77C40
square
#40B741 #407AB7 #B740B6 #B77C40
split-complementary
#40B741 #7C40B7 #B7407A
monochromatic
#205C21 #308A31 #40B741 #69CB6A #97DB97

Accessibility & contrast

On white

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

On black

8.07
#40B741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B741
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B741#FFFFFF#000000##000000
##40B7411.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#AC9D4B
Tritanopia (blue-blind)
#25B29E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b741;
/* rgb */ color: rgb(64, 183, 65);
/* oklch */ color: oklch(68.8% 0.190 143.3);
Tailwind
colors: {
  custom: {
    50: '#83ce7a',
    500: '#40b741',
    950: '#000000',
  },
}
SCSS
$custom: #40b741;
$custom-light: #83ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b741",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 120.504,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68836,
    "c": 0.18997,
    "h": 143.3
  },
  "luminance": 0.35339
}

Semantic roles & 50–950 ramp

primary
#40B741
secondary
#C68DC6
accent
#50D7D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B741

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

Preview Lab → · Contrast checker → · Palette generator →

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