#40C031#40C031

#40C031 is a light, highly saturated green. Relative luminance 0.390; OKLCH L 71.1% C 0.211 H 141.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#40C031
RGBrgb(64, 192, 49)
HSLhsl(114, 59%, 47%)
HSVhsv(114, 74%, 75%)
CMYKcmyk(66.7%, 0%, 74.5%, 24.7%)
CIE-LABlab(68.76, -60.60, 58.05)
CIE-LCHlch(68.76, 83.92, 136.23°)
OKLaboklab(71.07% -0.1653 0.1309)
OKLCHoklch(71.07% 0.211 141.6)
XYZxyz(21.5172, 39.0088, 9.3006)
Luminance0.3901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C031 #B131C0
analogous
#88C031 #40C031 #31C069
triadic
#40C031 #3140C0 #C03140
tetradic
#40C031 #3188C0 #B131C0 #C06931
square
#40C031 #3188C0 #B131C0 #C06931
split-complementary
#40C031 #6931C0 #C03188
monochromatic
#1F5E18 #308F25 #40C031 #66D559 #93E18A

Accessibility & contrast

On white

2.39
#40C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#40C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C031
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C031#FFFFFF#000000##000000
##40C0311.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#25BAA5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c031;
/* rgb */ color: rgb(64, 192, 49);
/* oklch */ color: oklch(71.1% 0.211 141.6);
Tailwind
colors: {
  custom: {
    50: '#86d473',
    500: '#40c031',
    950: '#000000',
  },
}
SCSS
$custom: #40c031;
$custom-light: #86d473;
$custom-dark: #000000;
JSON
{
  "hex": "#40c031",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 113.706,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.21083,
    "h": 141.6
  },
  "luminance": 0.39011
}

Semantic roles & 50–950 ramp

primary
#40C031
secondary
#C382CB
accent
#45E3D2
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C031

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

Preview Lab → · Contrast checker → · Palette generator →

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