#40B45F#40B45F

#40B45F is a light, vivid green. Relative luminance 0.346; OKLCH L 68.4% C 0.161 H 149.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#40B45F
RGBrgb(64, 180, 95)
HSLhsl(136, 48%, 48%)
HSVhsv(136, 64%, 71%)
CMYKcmyk(64.4%, 0%, 47.2%, 29.4%)
CIE-LABlab(65.40, -51.02, 33.91)
CIE-LCHlch(65.40, 61.26, 146.39°)
OKLaboklab(68.45% -0.1377 0.0828)
OKLCHoklch(68.45% 0.161 149)
XYZxyz(20.4997, 34.5566, 16.4140)
Luminance0.3456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B45F #B44095
analogous
#5BB440 #40B45F #40B499
triadic
#40B45F #5F40B4 #B45F40
tetradic
#40B45F #405BB4 #B44095 #B49940
square
#40B45F #405BB4 #B44095 #B49940
split-complementary
#40B45F #9940B4 #B4405B
monochromatic
#205A2F #308747 #40B45F #68C982 #95D9A7

Accessibility & contrast

On white

2.65
#40B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#40B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B45F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B45F#FFFFFF#000000##000000
##40B45F1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A558
Deuteranopia (green-blind)
#A79B65
Tritanopia (blue-blind)
#18B1A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b45f;
/* rgb */ color: rgb(64, 180, 95);
/* oklch */ color: oklch(68.4% 0.161 149.0);
Tailwind
colors: {
  custom: {
    50: '#82cb8e',
    500: '#40b45f',
    950: '#000000',
  },
}
SCSS
$custom: #40b45f;
$custom-light: #82cb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b45f",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 136.034,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68446,
    "c": 0.16066,
    "h": 149
  },
  "luminance": 0.34559
}

Semantic roles & 50–950 ramp

primary
#40B45F
secondary
#C58BB5
accent
#51B3D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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