#40B337#40B337

#40B337 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.192 H 142.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#40B337
RGBrgb(64, 179, 55)
HSLhsl(116, 53%, 46%)
HSVhsv(116, 69%, 70%)
CMYKcmyk(64.2%, 0%, 69.3%, 29.8%)
CIE-LABlab(64.65, -55.66, 51.60)
CIE-LCHlch(64.65, 75.89, 137.17°)
OKLaboklab(67.68% -0.1516 0.1181)
OKLCHoklch(67.68% 0.192 142.1)
XYZxyz(18.9230, 33.6041, 9.1027)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B337 #AA37B3
analogous
#7EB337 #40B337 #37B36C
triadic
#40B337 #3740B3 #B33740
tetradic
#40B337 #377EB3 #AA37B3 #B36C37
square
#40B337 #377EB3 #AA37B3 #B36C37
split-complementary
#40B337 #6C37B3 #B3377E
monochromatic
#1F551A #2F8429 #40B337 #63CD5B #8FDB8A

Accessibility & contrast

On white

2.72
#40B337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#40B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B337
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B337#FFFFFF#000000##000000
##40B3371.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A325
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#2AAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b337;
/* rgb */ color: rgb(64, 179, 55);
/* oklch */ color: oklch(67.7% 0.192 142.1);
Tailwind
colors: {
  custom: {
    50: '#83cb74',
    500: '#40b337',
    950: '#000000',
  },
}
SCSS
$custom: #40b337;
$custom-light: #83cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#40b337",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 115.645,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.1922,
    "h": 142.1
  },
  "luminance": 0.33606
}

Semantic roles & 50–950 ramp

primary
#40B337
secondary
#C081C5
accent
#4BDCD2
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B337

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

Preview Lab → · Contrast checker → · Palette generator →

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