#40B357#40B357

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

Color values

HEX#40B357
RGBrgb(64, 179, 87)
HSLhsl(132, 47%, 48%)
HSVhsv(132, 64%, 70%)
CMYKcmyk(64.2%, 0%, 51.4%, 29.8%)
CIE-LABlab(64.98, -51.87, 37.41)
CIE-LCHlch(64.98, 63.95, 144.20°)
OKLaboklab(68.06% -0.14 0.0903)
OKLCHoklch(68.06% 0.167 147.2)
XYZxyz(19.9534, 34.0163, 14.5292)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B357 #B3409C
analogous
#62B340 #40B357 #40B390
triadic
#40B357 #5740B3 #B35740
tetradic
#40B357 #4062B3 #B3409C #B39040
square
#40B357 #4062B3 #B3409C #B39040
split-complementary
#40B357 #9040B3 #B34062
monochromatic
#20592B #308641 #40B357 #67C97B #94D9A2

Accessibility & contrast

On white

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

On black

7.80
#40B357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B357
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B357#FFFFFF#000000##000000
##40B3571.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A44F
Deuteranopia (green-blind)
#A79A5E
Tritanopia (blue-blind)
#1EAF9E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b357;
/* rgb */ color: rgb(64, 179, 87);
/* oklch */ color: oklch(68.1% 0.167 147.2);
Tailwind
colors: {
  custom: {
    50: '#82cb88',
    500: '#40b357',
    950: '#000000',
  },
}
SCSS
$custom: #40b357;
$custom-light: #82cb88;
$custom-dark: #000000;
JSON
{
  "hex": "#40b357",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 87
  },
  "hsl": {
    "h": 132,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68059,
    "c": 0.16665,
    "h": 147.2
  },
  "luminance": 0.34018
}

Semantic roles & 50–950 ramp

primary
#40B357
secondary
#C48AB9
accent
#51BCD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B357

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

Preview Lab → · Contrast checker → · Palette generator →

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