#40B059#40B059

#40B059 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.3% C 0.161 H 147.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#40B059
RGBrgb(64, 176, 89)
HSLhsl(133, 47%, 47%)
HSVhsv(133, 64%, 69%)
CMYKcmyk(63.6%, 0%, 49.4%, 31%)
CIE-LABlab(64.05, -50.43, 35.26)
CIE-LCHlch(64.05, 61.53, 145.04°)
OKLaboklab(67.3% -0.1362 0.0856)
OKLCHoklch(67.3% 0.161 147.8)
XYZxyz(19.4415, 32.8600, 14.7673)
Luminance0.3286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B059 #B04097
analogous
#5FB040 #40B059 #40B091
triadic
#40B059 #5940B0 #B05940
tetradic
#40B059 #405FB0 #B04097 #B09140
square
#40B059 #405FB0 #B04097 #B09140
split-complementary
#40B059 #9140B0 #B0405F
monochromatic
#1F562C #308342 #40B059 #66C77C #93D8A2

Accessibility & contrast

On white

2.77
#40B059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#40B059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B059
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B059#FFFFFF#000000##000000
##40B0591.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A152
Deuteranopia (green-blind)
#A4975F
Tritanopia (blue-blind)
#1EAC9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b059;
/* rgb */ color: rgb(64, 176, 89);
/* oklch */ color: oklch(67.3% 0.161 147.8);
Tailwind
colors: {
  custom: {
    50: '#81c889',
    500: '#40b059',
    950: '#000000',
  },
}
SCSS
$custom: #40b059;
$custom-light: #81c889;
$custom-dark: #000000;
JSON
{
  "hex": "#40b059",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 133.393,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67303,
    "c": 0.16083,
    "h": 147.8
  },
  "luminance": 0.32862
}

Semantic roles & 50–950 ramp

primary
#40B059
secondary
#C389B6
accent
#51B9D6
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B059

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

Preview Lab → · Contrast checker → · Palette generator →

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