#40B037#40B037

#40B037 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.9% C 0.189 H 142.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#40B037
RGBrgb(64, 176, 55)
HSLhsl(116, 52%, 45%)
HSVhsv(116, 69%, 69%)
CMYKcmyk(63.6%, 0%, 68.8%, 31%)
CIE-LABlab(63.68, -54.60, 50.57)
CIE-LCHlch(63.68, 74.42, 137.19°)
OKLaboklab(66.88% -0.1488 0.116)
OKLCHoklch(66.88% 0.189 142.1)
XYZxyz(18.3283, 32.4147, 8.9045)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B037 #A737B0
analogous
#7DB037 #40B037 #37B06A
triadic
#40B037 #3740B0 #B03740
tetradic
#40B037 #377DB0 #A737B0 #B06A37
square
#40B037 #377DB0 #A737B0 #B06A37
split-complementary
#40B037 #6A37B0 #B0377D
monochromatic
#1E531A #2F8128 #40B037 #62CB59 #8EDA88

Accessibility & contrast

On white

2.81
#40B037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#40B037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B037
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B037#FFFFFF#000000##000000
##40B0371.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A026
Deuteranopia (green-blind)
#A69742
Tritanopia (blue-blind)
#2BAB98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b037;
/* rgb */ color: rgb(64, 176, 55);
/* oklch */ color: oklch(66.9% 0.189 142.1);
Tailwind
colors: {
  custom: {
    50: '#83c974',
    500: '#40b037',
    950: '#000000',
  },
}
SCSS
$custom: #40b037;
$custom-light: #83c974;
$custom-dark: #000000;
JSON
{
  "hex": "#40b037",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 115.537,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.18862,
    "h": 142.1
  },
  "luminance": 0.32416
}

Semantic roles & 50–950 ramp

primary
#40B037
secondary
#BF7FC4
accent
#4CDCD1
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B037

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

Preview Lab → · Contrast checker → · Palette generator →

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