#40B05F#40B05F

#40B05F is a light, vivid green. Relative luminance 0.330; OKLCH L 67.4% C 0.155 H 149.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#40B05F
RGBrgb(64, 176, 95)
HSLhsl(137, 47%, 47%)
HSVhsv(137, 64%, 69%)
CMYKcmyk(63.6%, 0%, 46%, 31%)
CIE-LABlab(64.13, -49.48, 32.29)
CIE-LCHlch(64.13, 59.09, 146.87°)
OKLaboklab(67.4% -0.1336 0.0791)
OKLCHoklch(67.4% 0.155 149.4)
XYZxyz(19.7038, 32.9649, 16.1487)
Luminance0.3297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B05F #B04091
analogous
#59B040 #40B05F #40B097
triadic
#40B05F #5F40B0 #B05F40
tetradic
#40B05F #4059B0 #B04091 #B09740
square
#40B05F #4059B0 #B04091 #B09740
split-complementary
#40B05F #9740B0 #B04059
monochromatic
#1F562F #308347 #40B05F #66C781 #93D8A6

Accessibility & contrast

On white

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

On black

7.59
#40B05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B05F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B05F#FFFFFF#000000##000000
##40B05F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A159
Deuteranopia (green-blind)
#A39865
Tritanopia (blue-blind)
#1AAD9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b05f;
/* rgb */ color: rgb(64, 176, 95);
/* oklch */ color: oklch(67.4% 0.155 149.4);
Tailwind
colors: {
  custom: {
    50: '#81c88d',
    500: '#40b05f',
    950: '#000000',
  },
}
SCSS
$custom: #40b05f;
$custom-light: #81c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b05f",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 95
  },
  "hsl": {
    "h": 136.607,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.674,
    "c": 0.15524,
    "h": 149.4
  },
  "luminance": 0.32967
}

Semantic roles & 50–950 ramp

primary
#40B05F
secondary
#C389B3
accent
#51B2D6
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B05F

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

Preview Lab → · Contrast checker → · Palette generator →

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