#40B136#40B136

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

Color values

HEX#40B136
RGBrgb(64, 177, 54)
HSLhsl(115, 53%, 45%)
HSVhsv(115, 69%, 69%)
CMYKcmyk(63.8%, 0%, 69.5%, 30.6%)
CIE-LABlab(64.00, -55.04, 51.31)
CIE-LCHlch(64.00, 75.25, 137.01°)
OKLaboklab(67.14% -0.15 0.1174)
OKLCHoklch(67.14% 0.19 142)
XYZxyz(18.5014, 32.7988, 8.8451)
Luminance0.3280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B136 #A736B1
analogous
#7DB136 #40B136 #36B169
triadic
#40B136 #3640B1 #B13640
tetradic
#40B136 #367DB1 #A736B1 #B16936
square
#40B136 #367DB1 #A736B1 #B16936
split-complementary
#40B136 #6936B1 #B1367D
monochromatic
#1E5319 #2F8228 #40B136 #62CC58 #8EDA87

Accessibility & contrast

On white

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

On black

7.56
#40B136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B136
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B136#FFFFFF#000000##000000
##40B1361.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#A79842
Tritanopia (blue-blind)
#2BAC98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b136;
/* rgb */ color: rgb(64, 177, 54);
/* oklch */ color: oklch(67.1% 0.190 142.0);
Tailwind
colors: {
  custom: {
    50: '#83c974',
    500: '#40b136',
    950: '#000000',
  },
}
SCSS
$custom: #40b136;
$custom-light: #83c974;
$custom-dark: #000000;
JSON
{
  "hex": "#40b136",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 115.122,
    "s": 53.247,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67142,
    "c": 0.19049,
    "h": 142
  },
  "luminance": 0.32801
}

Semantic roles & 50–950 ramp

primary
#40B136
secondary
#BF7FC4
accent
#4BDDD1
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B136

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

Preview Lab → · Contrast checker → · Palette generator →

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