#40C337#40C337

#40C337 is a light, highly saturated green. Relative luminance 0.404; OKLCH L 71.9% C 0.211 H 142.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#40C337
RGBrgb(64, 195, 55)
HSLhsl(116, 56%, 49%)
HSVhsv(116, 72%, 76%)
CMYKcmyk(67.2%, 0%, 71.8%, 23.5%)
CIE-LABlab(69.75, -61.14, 56.91)
CIE-LCHlch(69.75, 83.53, 137.05°)
OKLaboklab(71.91% -0.1665 0.1292)
OKLCHoklch(71.91% 0.211 142.2)
XYZxyz(22.3178, 40.3937, 10.2343)
Luminance0.4040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C337 #BA37C3
analogous
#86C337 #40C337 #37C374
triadic
#40C337 #3740C3 #C33740
tetradic
#40C337 #3786C3 #BA37C3 #C37437
square
#40C337 #3786C3 #BA37C3 #C37437
split-complementary
#40C337 #7437C3 #C33786
monochromatic
#21641C #30932A #40C337 #6BD364 #99E194

Accessibility & contrast

On white

2.31
#40C337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#40C337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C337
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C337#FFFFFF#000000##000000
##40C3371.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11F
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#22BDA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c337;
/* rgb */ color: rgb(64, 195, 55);
/* oklch */ color: oklch(71.9% 0.211 142.2);
Tailwind
colors: {
  custom: {
    50: '#86d676',
    500: '#40c337',
    950: '#000000',
  },
}
SCSS
$custom: #40c337;
$custom-light: #86d676;
$custom-dark: #000000;
JSON
{
  "hex": "#40c337",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 116.143,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71907,
    "c": 0.21075,
    "h": 142.2
  },
  "luminance": 0.40396
}

Semantic roles & 50–950 ramp

primary
#40C337
secondary
#C88ACC
accent
#49DFD6
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C337

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

Preview Lab → · Contrast checker → · Palette generator →

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