#40B462#40B462

#40B462 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.5% C 0.158 H 149.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#40B462
RGBrgb(64, 180, 98)
HSLhsl(138, 48%, 48%)
HSVhsv(138, 64%, 71%)
CMYKcmyk(64.4%, 0%, 45.6%, 29.4%)
CIE-LABlab(65.45, -50.53, 32.42)
CIE-LCHlch(65.45, 60.04, 147.32°)
OKLaboklab(68.5% -0.1364 0.0795)
OKLCHoklch(68.5% 0.158 149.7)
XYZxyz(20.6387, 34.6122, 17.1461)
Luminance0.3461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B462 #B44092
analogous
#58B440 #40B462 #40B49C
triadic
#40B462 #6240B4 #B46240
tetradic
#40B462 #4058B4 #B44092 #B49C40
square
#40B462 #4058B4 #B44092 #B49C40
split-complementary
#40B462 #9C40B4 #B44058
monochromatic
#205A31 #308749 #40B462 #68C984 #95D9A9

Accessibility & contrast

On white

2.65
#40B462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#40B462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B462
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B462#FFFFFF#000000##000000
##40B4621.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#A69B68
Tritanopia (blue-blind)
#15B1A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b462;
/* rgb */ color: rgb(64, 180, 98);
/* oklch */ color: oklch(68.5% 0.158 149.7);
Tailwind
colors: {
  custom: {
    50: '#82cb90',
    500: '#40b462',
    950: '#000000',
  },
}
SCSS
$custom: #40b462;
$custom-light: #82cb90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b462",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 137.586,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.15786,
    "h": 149.7
  },
  "luminance": 0.34614
}

Semantic roles & 50–950 ramp

primary
#40B462
secondary
#C58BB4
accent
#51B0D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B462

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

Preview Lab → · Contrast checker → · Palette generator →

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