#40B237#40B237

#40B237 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.191 H 142.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#40B237
RGBrgb(64, 178, 55)
HSLhsl(116, 53%, 46%)
HSVhsv(116, 69%, 70%)
CMYKcmyk(64%, 0%, 69.1%, 30.2%)
CIE-LABlab(64.33, -55.31, 51.26)
CIE-LCHlch(64.33, 75.41, 137.18°)
OKLaboklab(67.42% -0.1507 0.1174)
OKLCHoklch(67.42% 0.191 142.1)
XYZxyz(18.7233, 33.2048, 9.0361)
Luminance0.3321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B237 #A937B2
analogous
#7DB237 #40B237 #37B26B
triadic
#40B237 #3740B2 #B23740
tetradic
#40B237 #377DB2 #A937B2 #B26B37
square
#40B237 #377DB2 #A937B2 #B26B37
split-complementary
#40B237 #6B37B2 #B2377D
monochromatic
#1E541A #2F8329 #40B237 #62CC5A #8FDB89

Accessibility & contrast

On white

2.75
#40B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#40B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B237
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B237#FFFFFF#000000##000000
##40B2371.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A225
Deuteranopia (green-blind)
#A89843
Tritanopia (blue-blind)
#2AAD99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b237;
/* rgb */ color: rgb(64, 178, 55);
/* oklch */ color: oklch(67.4% 0.191 142.1);
Tailwind
colors: {
  custom: {
    50: '#83ca74',
    500: '#40b237',
    950: '#000000',
  },
}
SCSS
$custom: #40b237;
$custom-light: #83ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#40b237",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 115.61,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67416,
    "c": 0.19101,
    "h": 142.1
  },
  "luminance": 0.33207
}

Semantic roles & 50–950 ramp

primary
#40B237
secondary
#C080C5
accent
#4CDCD2
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B237

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

Preview Lab → · Contrast checker → · Palette generator →

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