#40B132#40B132

#40B132 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.193 H 141.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40B132
RGBrgb(64, 177, 50)
HSLhsl(113, 56%, 45%)
HSVhsv(113, 72%, 69%)
CMYKcmyk(63.8%, 0%, 71.8%, 30.6%)
CIE-LABlab(63.97, -55.39, 52.84)
CIE-LCHlch(63.97, 76.55, 136.35°)
OKLaboklab(67.11% -0.1512 0.1201)
OKLCHoklch(67.11% 0.193 141.5)
XYZxyz(18.4113, 32.7628, 8.3706)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B132 #A332B1
analogous
#80B132 #40B132 #32B164
triadic
#40B132 #3240B1 #B13240
tetradic
#40B132 #3280B1 #A332B1 #B16432
square
#40B132 #3280B1 #A332B1 #B16432
split-complementary
#40B132 #6432B1 #B13280
monochromatic
#1D5217 #2F8125 #40B132 #60CE52 #8CDC82

Accessibility & contrast

On white

2.78
#40B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B132
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B132#FFFFFF#000000##000000
##40B1321.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11D
Deuteranopia (green-blind)
#A8973F
Tritanopia (blue-blind)
#2CAC98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b132;
/* rgb */ color: rgb(64, 177, 50);
/* oklch */ color: oklch(67.1% 0.193 141.5);
Tailwind
colors: {
  custom: {
    50: '#83c971',
    500: '#40b132',
    950: '#000000',
  },
}
SCSS
$custom: #40b132;
$custom-light: #83c971;
$custom-dark: #000000;
JSON
{
  "hex": "#40b132",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 113.386,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67108,
    "c": 0.19306,
    "h": 141.5
  },
  "luminance": 0.32765
}

Semantic roles & 50–950 ramp

primary
#40B132
secondary
#BD7AC5
accent
#49DFCF
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B132

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

Preview Lab → · Contrast checker → · Palette generator →

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