#40B04D#40B04D

#40B04D is a light, vivid green. Relative luminance 0.327; OKLCH L 67.1% C 0.172 H 145.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40B04D
RGBrgb(64, 176, 77)
HSLhsl(127, 47%, 47%)
HSVhsv(127, 64%, 69%)
CMYKcmyk(63.6%, 0%, 56.2%, 31%)
CIE-LABlab(63.90, -52.14, 41.00)
CIE-LCHlch(63.90, 66.33, 141.82°)
OKLaboklab(67.13% -0.1411 0.0976)
OKLCHoklch(67.13% 0.172 145.3)
XYZxyz(18.9780, 32.6746, 12.3264)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B04D #B040A3
analogous
#6BB040 #40B04D #40B085
triadic
#40B04D #4D40B0 #B04D40
tetradic
#40B04D #406BB0 #B040A3 #B08540
square
#40B04D #406BB0 #B040A3 #B08540
split-complementary
#40B04D #8540B0 #B0406B
monochromatic
#1F5626 #308339 #40B04D #66C771 #93D89B

Accessibility & contrast

On white

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

On black

7.54
#40B04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B04D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B04D#FFFFFF#000000##000000
##40B04D1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A144
Deuteranopia (green-blind)
#A59755
Tritanopia (blue-blind)
#24AC9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b04d;
/* rgb */ color: rgb(64, 176, 77);
/* oklch */ color: oklch(67.1% 0.172 145.3);
Tailwind
colors: {
  custom: {
    50: '#82c981',
    500: '#40b04d',
    950: '#000000',
  },
}
SCSS
$custom: #40b04d;
$custom-light: #82c981;
$custom-dark: #000000;
JSON
{
  "hex": "#40b04d",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 126.964,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67129,
    "c": 0.17155,
    "h": 145.3
  },
  "luminance": 0.32676
}

Semantic roles & 50–950 ramp

primary
#40B04D
secondary
#C389BC
accent
#51C7D6
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40B04D

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

Preview Lab → · Contrast checker → · Palette generator →

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