#40B241#40B241

#40B241 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.184 H 143.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40B241
RGBrgb(64, 178, 65)
HSLhsl(121, 47%, 47%)
HSVhsv(121, 64%, 70%)
CMYKcmyk(64%, 0%, 63.5%, 30.2%)
CIE-LABlab(64.41, -54.31, 47.13)
CIE-LCHlch(64.41, 71.91, 139.05°)
OKLaboklab(67.51% -0.1475 0.1098)
OKLCHoklch(67.51% 0.184 143.3)
XYZxyz(18.9878, 33.3105, 10.4289)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B241 #B240B1
analogous
#78B240 #40B241 #40B27A
triadic
#40B241 #4140B2 #B24140
tetradic
#40B241 #4078B2 #B240B1 #B27A40
square
#40B241 #4078B2 #B240B1 #B27A40
split-complementary
#40B241 #7A40B2 #B24078
monochromatic
#205820 #308531 #40B241 #67C868 #94D895

Accessibility & contrast

On white

2.74
#40B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#40B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B241
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B241#FFFFFF#000000##000000
##40B2411.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A234
Deuteranopia (green-blind)
#A8994B
Tritanopia (blue-blind)
#28AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b241;
/* rgb */ color: rgb(64, 178, 65);
/* oklch */ color: oklch(67.5% 0.184 143.3);
Tailwind
colors: {
  custom: {
    50: '#82ca7a',
    500: '#40b241',
    950: '#000000',
  },
}
SCSS
$custom: #40b241;
$custom-light: #82ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b241",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 120.526,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67514,
    "c": 0.18385,
    "h": 143.3
  },
  "luminance": 0.33312
}

Semantic roles & 50–950 ramp

primary
#40B241
secondary
#C48AC3
accent
#51D6D7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B241

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

Preview Lab → · Contrast checker → · Palette generator →

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