#40B85B#40B85B

#40B85B is a light, vivid green. Relative luminance 0.361; OKLCH L 69.4% C 0.170 H 147.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#40B85B
RGBrgb(64, 184, 91)
HSLhsl(134, 48%, 49%)
HSVhsv(134, 65%, 72%)
CMYKcmyk(65.2%, 0%, 50.5%, 27.8%)
CIE-LABlab(66.61, -53.15, 37.44)
CIE-LCHlch(66.61, 65.01, 144.84°)
OKLaboklab(69.43% -0.1434 0.0906)
OKLCHoklch(69.43% 0.17 147.7)
XYZxyz(21.1417, 36.1241, 15.7540)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B85B #B8409D
analogous
#61B840 #40B85B #40B897
triadic
#40B85B #5B40B8 #B85B40
tetradic
#40B85B #4061B8 #B8409D #B89740
square
#40B85B #4061B8 #B8409D #B89740
split-complementary
#40B85B #9740B8 #B84061
monochromatic
#205D2E #308B45 #40B85B #6ACB80 #97DBA7

Accessibility & contrast

On white

2.55
#40B85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#40B85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B85B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B85B#FFFFFF#000000##000000
##40B85B1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA853
Deuteranopia (green-blind)
#AB9E62
Tritanopia (blue-blind)
#18B4A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b85b;
/* rgb */ color: rgb(64, 184, 91);
/* oklch */ color: oklch(69.4% 0.170 147.7);
Tailwind
colors: {
  custom: {
    50: '#83ce8b',
    500: '#40b85b',
    950: '#000000',
  },
}
SCSS
$custom: #40b85b;
$custom-light: #83ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b85b",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 91
  },
  "hsl": {
    "h": 133.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69428,
    "c": 0.16964,
    "h": 147.7
  },
  "luminance": 0.36126
}

Semantic roles & 50–950 ramp

primary
#40B85B
secondary
#C78DBA
accent
#50B9D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B85B

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

Preview Lab → · Contrast checker → · Palette generator →

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