#40B839#40B839

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

Color values

HEX#40B839
RGBrgb(64, 184, 57)
HSLhsl(117, 53%, 47%)
HSVhsv(117, 69%, 72%)
CMYKcmyk(65.2%, 0%, 69%, 27.8%)
CIE-LABlab(66.26, -57.22, 52.51)
CIE-LCHlch(66.26, 77.66, 137.46°)
OKLaboklab(69.02% -0.1558 0.1203)
OKLCHoklch(69.02% 0.197 142.3)
XYZxyz(19.9922, 35.6644, 9.7004)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B839 #B139B8
analogous
#80B839 #40B839 #39B872
triadic
#40B839 #3940B8 #B83940
tetradic
#40B839 #3980B8 #B139B8 #B87239
square
#40B839 #3980B8 #B139B8 #B87239
split-complementary
#40B839 #7239B8 #B83980
monochromatic
#1F5B1C #30892B #40B839 #66CE60 #93DC8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B839#FFFFFF#000000##000000
##40B8391.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)
#BCA726
Deuteranopia (green-blind)
#AE9D45
Tritanopia (blue-blind)
#27B39E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b839;
/* rgb */ color: rgb(64, 184, 57);
/* oklch */ color: oklch(69.0% 0.197 142.3);
Tailwind
colors: {
  custom: {
    50: '#84ce76',
    500: '#40b839',
    950: '#000000',
  },
}
SCSS
$custom: #40b839;
$custom-light: #84ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#40b839",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 116.693,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69024,
    "c": 0.19679,
    "h": 142.3
  },
  "luminance": 0.35666
}

Semantic roles & 50–950 ramp

primary
#40B839
secondary
#C386C7
accent
#4CDCD4
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B839

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

Preview Lab → · Contrast checker → · Palette generator →

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