#40B536#40B536

#40B536 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.2% C 0.195 H 142.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#40B536
RGBrgb(64, 181, 54)
HSLhsl(115, 54%, 46%)
HSVhsv(115, 70%, 71%)
CMYKcmyk(64.6%, 0%, 70.2%, 29%)
CIE-LABlab(65.28, -56.45, 52.66)
CIE-LCHlch(65.28, 77.20, 136.99°)
OKLaboklab(68.2% -0.1538 0.1202)
OKLCHoklch(68.2% 0.195 142)
XYZxyz(19.3030, 34.4022, 9.1123)
Luminance0.3440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B536 #AB36B5
analogous
#7FB536 #40B536 #36B56B
triadic
#40B536 #3640B5 #B53640
tetradic
#40B536 #367FB5 #AB36B5 #B56B36
square
#40B536 #367FB5 #AB36B5 #B56B36
split-complementary
#40B536 #6B36B5 #B5367F
monochromatic
#1F571A #2F8628 #40B536 #63CE5A #90DC89

Accessibility & contrast

On white

2.66
#40B536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#40B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B536
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B536#FFFFFF#000000##000000
##40B5361.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A422
Deuteranopia (green-blind)
#AB9B42
Tritanopia (blue-blind)
#29B09C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b536;
/* rgb */ color: rgb(64, 181, 54);
/* oklch */ color: oklch(68.2% 0.195 142.0);
Tailwind
colors: {
  custom: {
    50: '#84cc74',
    500: '#40b536',
    950: '#000000',
  },
}
SCSS
$custom: #40b536;
$custom-light: #84cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#40b536",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 115.276,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68204,
    "c": 0.19522,
    "h": 142
  },
  "luminance": 0.34404
}

Semantic roles & 50–950 ramp

primary
#40B536
secondary
#C181C6
accent
#4ADDD2
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B536

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

Preview Lab → · Contrast checker → · Palette generator →

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