#40B047#40B047

#40B047 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.1% C 0.177 H 144.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#40B047
RGBrgb(64, 176, 71)
HSLhsl(124, 47%, 47%)
HSVhsv(124, 64%, 69%)
CMYKcmyk(63.6%, 0%, 59.7%, 31%)
CIE-LABlab(63.83, -52.90, 43.76)
CIE-LCHlch(63.83, 68.65, 140.40°)
OKLaboklab(67.05% -0.1433 0.1031)
OKLCHoklch(67.05% 0.177 144.3)
XYZxyz(18.7759, 32.5937, 11.2618)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B047 #B040A9
analogous
#71B040 #40B047 #40B07F
triadic
#40B047 #4740B0 #B04740
tetradic
#40B047 #4071B0 #B040A9 #B07F40
square
#40B047 #4071B0 #B040A9 #B07F40
split-complementary
#40B047 #7F40B0 #B04071
monochromatic
#1F5623 #308335 #40B047 #66C76C #93D897

Accessibility & contrast

On white

2.79
#40B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#40B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B047
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B047#FFFFFF#000000##000000
##40B0471.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03C
Deuteranopia (green-blind)
#A5974F
Tritanopia (blue-blind)
#26AB99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b047;
/* rgb */ color: rgb(64, 176, 71);
/* oklch */ color: oklch(67.1% 0.177 144.3);
Tailwind
colors: {
  custom: {
    50: '#82c97e',
    500: '#40b047',
    950: '#000000',
  },
}
SCSS
$custom: #40b047;
$custom-light: #82c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b047",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 123.75,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.17659,
    "h": 144.3
  },
  "luminance": 0.32596
}

Semantic roles & 50–950 ramp

primary
#40B047
secondary
#C389BF
accent
#51CED6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B047

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

Preview Lab → · Contrast checker → · Palette generator →

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