#40B358#40B358

#40B358 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.1% C 0.166 H 147.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#40B358
RGBrgb(64, 179, 88)
HSLhsl(133, 47%, 48%)
HSVhsv(133, 64%, 70%)
CMYKcmyk(64.2%, 0%, 50.8%, 29.8%)
CIE-LABlab(64.99, -51.72, 36.93)
CIE-LCHlch(64.99, 63.55, 144.47°)
OKLaboklab(68.07% -0.1396 0.0893)
OKLCHoklch(68.07% 0.166 147.4)
XYZxyz(19.9945, 34.0327, 14.7459)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B358 #B3409B
analogous
#61B340 #40B358 #40B392
triadic
#40B358 #5840B3 #B35840
tetradic
#40B358 #4061B3 #B3409B #B39240
square
#40B358 #4061B3 #B3409B #B39240
split-complementary
#40B358 #9240B3 #B34061
monochromatic
#20592C #308642 #40B358 #67C97C #94D9A3

Accessibility & contrast

On white

2.69
#40B358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#40B358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B358
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B358#FFFFFF#000000##000000
##40B3581.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A450
Deuteranopia (green-blind)
#A79A5F
Tritanopia (blue-blind)
#1DAF9E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b358;
/* rgb */ color: rgb(64, 179, 88);
/* oklch */ color: oklch(68.1% 0.166 147.4);
Tailwind
colors: {
  custom: {
    50: '#82cb89',
    500: '#40b358',
    950: '#000000',
  },
}
SCSS
$custom: #40b358;
$custom-light: #82cb89;
$custom-dark: #000000;
JSON
{
  "hex": "#40b358",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 88
  },
  "hsl": {
    "h": 132.522,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68074,
    "c": 0.16576,
    "h": 147.4
  },
  "luminance": 0.34035
}

Semantic roles & 50–950 ramp

primary
#40B358
secondary
#C48AB8
accent
#51BBD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B358

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

Preview Lab → · Contrast checker → · Palette generator →

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