#40B62A#40B62A

#40B62A is a light, highly saturated green. Relative luminance 0.347; OKLCH L 68.4% C 0.203 H 140.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#40B62A
RGBrgb(64, 182, 42)
HSLhsl(111, 63%, 44%)
HSVhsv(111, 77%, 71%)
CMYKcmyk(64.8%, 0%, 76.9%, 28.6%)
CIE-LABlab(65.52, -57.72, 57.23)
CIE-LCHlch(65.52, 81.28, 135.24°)
OKLaboklab(68.38% -0.1579 0.1282)
OKLCHoklch(68.38% 0.203 140.9)
XYZxyz(19.2592, 34.7111, 7.8750)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B62A #A02AB6
analogous
#86B62A #40B62A #2AB65A
triadic
#40B62A #2A40B6 #B62A40
tetradic
#40B62A #2A86B6 #A02AB6 #B65A2A
square
#40B62A #2A86B6 #A02AB6 #B65A2A
split-complementary
#40B62A #5A2AB6 #B62A86
monochromatic
#1D5313 #2F841F #40B62A #5ED548 #8AE07A

Accessibility & contrast

On white

2.64
#40B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#40B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B62A
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B62A#FFFFFF#000000##000000
##40B62A1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA505
Deuteranopia (green-blind)
#AD9B3A
Tritanopia (blue-blind)
#2BB09C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b62a;
/* rgb */ color: rgb(64, 182, 42);
/* oklch */ color: oklch(68.4% 0.203 140.9);
Tailwind
colors: {
  custom: {
    50: '#84cd6e',
    500: '#40b62a',
    950: '#000000',
  },
}
SCSS
$custom: #40b62a;
$custom-light: #84cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b62a",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 110.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.20335,
    "h": 140.9
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

primary
#40B62A
secondary
#BB73C8
accent
#42E6CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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