#40BC2F#40BC2F

#40BC2F is a light, highly saturated green. Relative luminance 0.373; OKLCH L 70.0% C 0.207 H 141.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#40BC2F
RGBrgb(64, 188, 47)
HSLhsl(113, 60%, 46%)
HSVhsv(113, 75%, 74%)
CMYKcmyk(66%, 0%, 75%, 26.3%)
CIE-LABlab(67.47, -59.40, 57.46)
CIE-LCHlch(67.47, 82.65, 135.95°)
OKLaboklab(70% -0.1622 0.1294)
OKLCHoklch(70% 0.207 141.4)
XYZxyz(20.6096, 37.2596, 8.7945)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC2F #AB2FBC
analogous
#86BC2F #40BC2F #2FBC64
triadic
#40BC2F #2F40BC #BC2F40
tetradic
#40BC2F #2F86BC #AB2FBC #BC642F
square
#40BC2F #2F86BC #AB2FBC #BC642F
split-complementary
#40BC2F #642FBC #BC2F86
monochromatic
#1F5A17 #2F8B23 #40BC2F #63D454 #90E085

Accessibility & contrast

On white

2.48
#40BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#40BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC2F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC2F#FFFFFF#000000##000000
##40BC2F1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA11
Deuteranopia (green-blind)
#B2A03E
Tritanopia (blue-blind)
#27B6A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bc2f;
/* rgb */ color: rgb(64, 188, 47);
/* oklch */ color: oklch(70.0% 0.207 141.4);
Tailwind
colors: {
  custom: {
    50: '#85d171',
    500: '#40bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #40bc2f;
$custom-light: #85d171;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc2f",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 112.766,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70003,
    "c": 0.20745,
    "h": 141.4
  },
  "luminance": 0.37262
}

Semantic roles & 50–950 ramp

primary
#40BC2F
secondary
#C17DCA
accent
#45E3D0
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #40BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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