#40BB31#40BB31

#40BB31 is a light, highly saturated green. Relative luminance 0.369; OKLCH L 69.8% C 0.205 H 141.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40BB31
RGBrgb(64, 187, 49)
HSLhsl(113, 58%, 46%)
HSVhsv(113, 74%, 73%)
CMYKcmyk(65.8%, 0%, 73.8%, 26.7%)
CIE-LABlab(67.16, -58.92, 56.46)
CIE-LCHlch(67.16, 81.60, 136.22°)
OKLaboklab(69.75% -0.1608 0.1275)
OKLCHoklch(69.75% 0.205 141.6)
XYZxyz(20.4380, 36.8503, 8.9409)
Luminance0.3685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB31 #AC31BB
analogous
#85BB31 #40BB31 #31BB67
triadic
#40BB31 #3140BB #BB3140
tetradic
#40BB31 #3185BB #AC31BB #BB6731
square
#40BB31 #3185BB #AC31BB #BB6731
split-complementary
#40BB31 #6731BB #BB3185
monochromatic
#1F5A18 #2F8B24 #40BB31 #64D356 #91E087

Accessibility & contrast

On white

2.51
#40BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#40BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB31
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB31#FFFFFF#000000##000000
##40BB311.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#27B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40bb31;
/* rgb */ color: rgb(64, 187, 49);
/* oklch */ color: oklch(69.8% 0.205 141.6);
Tailwind
colors: {
  custom: {
    50: '#85d172',
    500: '#40bb31',
    950: '#000000',
  },
}
SCSS
$custom: #40bb31;
$custom-light: #85d172;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb31",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 113.478,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69753,
    "c": 0.2052,
    "h": 141.6
  },
  "luminance": 0.36852
}

Semantic roles & 50–950 ramp

primary
#40BB31
secondary
#C17FC9
accent
#46E2D1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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