#40BC22#40BC22

#40BC22 is a light, highly saturated green. Relative luminance 0.372; OKLCH L 69.9% C 0.214 H 140.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#40BC22
RGBrgb(64, 188, 34)
HSLhsl(108, 69%, 44%)
HSVhsv(108, 82%, 74%)
CMYKcmyk(66%, 0%, 81.9%, 26.3%)
CIE-LABlab(67.40, -60.21, 61.41)
CIE-LCHlch(67.40, 86.00, 134.44°)
OKLaboklab(69.93% -0.165 0.1358)
OKLCHoklch(69.93% 0.214 140.5)
XYZxyz(20.3853, 37.1699, 7.6133)
Luminance0.3717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC22 #9E22BC
analogous
#8DBC22 #40BC22 #22BC51
triadic
#40BC22 #2240BC #BC2240
tetradic
#40BC22 #228DBC #9E22BC #BC5122
square
#40BC22 #228DBC #9E22BC #BC5122
split-complementary
#40BC22 #5122BC #BC228D
monochromatic
#1D540F #2E8819 #40BC22 #5EDC3F #89E673

Accessibility & contrast

On white

2.49
#40BC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#40BC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC22
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC22#FFFFFF#000000##000000
##40BC221.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#B3A036
Tritanopia (blue-blind)
#2AB6A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bc22;
/* rgb */ color: rgb(64, 188, 34);
/* oklch */ color: oklch(69.9% 0.214 140.5);
Tailwind
colors: {
  custom: {
    50: '#86d16b',
    500: '#40bc22',
    950: '#000000',
  },
}
SCSS
$custom: #40bc22;
$custom-light: #86d16b;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc22",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 108.312,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69926,
    "c": 0.21367,
    "h": 140.5
  },
  "luminance": 0.37172
}

Semantic roles & 50–950 ramp

primary
#40BC22
secondary
#BA6DCD
accent
#3CECCA
background
#F8FDF6
surface
#F0FAEC
border
#CBD3C7
text
#0D1407
muted
#7D837A

Preview Lab

Preview with #40BC22

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

Preview Lab → · Contrast checker → · Palette generator →

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