#40B64B#40B64B

#40B64B is a light, vivid green. Relative luminance 0.351; OKLCH L 68.7% C 0.181 H 144.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#40B64B
RGBrgb(64, 182, 75)
HSLhsl(126, 48%, 48%)
HSVhsv(126, 65%, 71%)
CMYKcmyk(64.8%, 0%, 58.8%, 28.6%)
CIE-LABlab(65.79, -54.59, 44.17)
CIE-LCHlch(65.79, 70.23, 141.02°)
OKLaboklab(68.69% -0.1478 0.1044)
OKLCHoklch(68.69% 0.181 144.8)
XYZxyz(20.1110, 35.0518, 12.3611)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B64B #B640AB
analogous
#70B640 #40B64B #40B686
triadic
#40B64B #4B40B6 #B64B40
tetradic
#40B64B #4070B6 #B640AB #B68640
square
#40B64B #4070B6 #B640AB #B68640
split-complementary
#40B64B #8640B6 #B64070
monochromatic
#205B26 #308938 #40B64B #69CA72 #96DA9D

Accessibility & contrast

On white

2.62
#40B64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#40B64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B64B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B64B#FFFFFF#000000##000000
##40B64B1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A640
Deuteranopia (green-blind)
#AB9C54
Tritanopia (blue-blind)
#22B19F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b64b;
/* rgb */ color: rgb(64, 182, 75);
/* oklch */ color: oklch(68.7% 0.181 144.8);
Tailwind
colors: {
  custom: {
    50: '#83cd81',
    500: '#40b64b',
    950: '#000000',
  },
}
SCSS
$custom: #40b64b;
$custom-light: #83cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b64b",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 75
  },
  "hsl": {
    "h": 125.593,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68685,
    "c": 0.18092,
    "h": 144.8
  },
  "luminance": 0.35054
}

Semantic roles & 50–950 ramp

primary
#40B64B
secondary
#C68CC0
accent
#50CBD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B64B

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

Preview Lab → · Contrast checker → · Palette generator →

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