#40B758#40B758

#40B758 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.1% C 0.171 H 147.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#40B758
RGBrgb(64, 183, 88)
HSLhsl(132, 48%, 48%)
HSVhsv(132, 65%, 72%)
CMYKcmyk(65%, 0%, 51.9%, 28.2%)
CIE-LABlab(66.26, -53.22, 38.49)
CIE-LCHlch(66.26, 65.68, 144.12°)
OKLaboklab(69.12% -0.1437 0.0928)
OKLCHoklch(69.12% 0.171 147.1)
XYZxyz(20.8078, 35.6594, 15.0170)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B758 #B7409F
analogous
#63B740 #40B758 #40B793
triadic
#40B758 #5840B7 #B75840
tetradic
#40B758 #4063B7 #B7409F #B79340
square
#40B758 #4063B7 #B7409F #B79340
split-complementary
#40B758 #9340B7 #B74063
monochromatic
#205C2C #308A42 #40B758 #69CB7D #97DBA4

Accessibility & contrast

On white

2.58
#40B758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#40B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B758
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B758#FFFFFF#000000##000000
##40B7581.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A750
Deuteranopia (green-blind)
#AA9D5F
Tritanopia (blue-blind)
#1AB3A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b758;
/* rgb */ color: rgb(64, 183, 88);
/* oklch */ color: oklch(69.1% 0.171 147.1);
Tailwind
colors: {
  custom: {
    50: '#82ce89',
    500: '#40b758',
    950: '#000000',
  },
}
SCSS
$custom: #40b758;
$custom-light: #82ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#40b758",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 132.101,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69122,
    "c": 0.17103,
    "h": 147.1
  },
  "luminance": 0.35662
}

Semantic roles & 50–950 ramp

primary
#40B758
secondary
#C68DBB
accent
#50BCD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B758

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

Preview Lab → · Contrast checker → · Palette generator →

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