#40C237#40C237

#40C237 is a light, highly saturated green. Relative luminance 0.399; OKLCH L 71.6% C 0.210 H 142.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#40C237
RGBrgb(64, 194, 55)
HSLhsl(116, 56%, 49%)
HSVhsv(116, 72%, 76%)
CMYKcmyk(67%, 0%, 71.6%, 23.9%)
CIE-LABlab(69.43, -60.81, 56.58)
CIE-LCHlch(69.43, 83.06, 137.06°)
OKLaboklab(71.64% -0.1656 0.1286)
OKLCHoklch(71.64% 0.21 142.2)
XYZxyz(22.0945, 39.9471, 10.1599)
Luminance0.3995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C237 #B937C2
analogous
#86C237 #40C237 #37C274
triadic
#40C237 #3740C2 #C23740
tetradic
#40C237 #3786C2 #B937C2 #C27437
square
#40C237 #3786C2 #B937C2 #C27437
split-complementary
#40C237 #7437C2 #C23786
monochromatic
#21631C #309229 #40C237 #6BD363 #98E093

Accessibility & contrast

On white

2.34
#40C237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#40C237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C237
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C237#FFFFFF#000000##000000
##40C2371.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B01F
Deuteranopia (green-blind)
#B7A645
Tritanopia (blue-blind)
#22BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c237;
/* rgb */ color: rgb(64, 194, 55);
/* oklch */ color: oklch(71.6% 0.210 142.2);
Tailwind
colors: {
  custom: {
    50: '#86d676',
    500: '#40c237',
    950: '#000000',
  },
}
SCSS
$custom: #40c237;
$custom-light: #86d676;
$custom-dark: #000000;
JSON
{
  "hex": "#40c237",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 116.115,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71644,
    "c": 0.20961,
    "h": 142.2
  },
  "luminance": 0.39949
}

Semantic roles & 50–950 ramp

primary
#40C237
secondary
#C789CB
accent
#49DFD5
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C237

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

Preview Lab → · Contrast checker → · Palette generator →

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