#40B362#40B362

#40B362 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.2% C 0.157 H 149.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#40B362
RGBrgb(64, 179, 98)
HSLhsl(138, 47%, 48%)
HSVhsv(138, 64%, 70%)
CMYKcmyk(64.2%, 0%, 45.3%, 29.8%)
CIE-LABlab(65.13, -50.15, 32.02)
CIE-LCHlch(65.13, 59.49, 147.44°)
OKLaboklab(68.24% -0.1353 0.0786)
OKLCHoklch(68.24% 0.157 149.8)
XYZxyz(20.4375, 34.2099, 17.0790)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B362 #B34091
analogous
#58B340 #40B362 #40B39B
triadic
#40B362 #6240B3 #B36240
tetradic
#40B362 #4058B3 #B34091 #B39B40
square
#40B362 #4058B3 #B34091 #B39B40
split-complementary
#40B362 #9B40B3 #B34058
monochromatic
#205931 #308649 #40B362 #67C984 #94D9A9

Accessibility & contrast

On white

2.68
#40B362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#40B362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B362
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B362#FFFFFF#000000##000000
##40B3621.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45C
Deuteranopia (green-blind)
#A69A68
Tritanopia (blue-blind)
#16B09F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b362;
/* rgb */ color: rgb(64, 179, 98);
/* oklch */ color: oklch(68.2% 0.157 149.8);
Tailwind
colors: {
  custom: {
    50: '#81cb90',
    500: '#40b362',
    950: '#000000',
  },
}
SCSS
$custom: #40b362;
$custom-light: #81cb90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b362",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 98
  },
  "hsl": {
    "h": 137.739,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68236,
    "c": 0.1565,
    "h": 149.8
  },
  "luminance": 0.34212
}

Semantic roles & 50–950 ramp

primary
#40B362
secondary
#C48AB3
accent
#51AFD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B362

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

Preview Lab → · Contrast checker → · Palette generator →

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