#40B04B#40B04B

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

Color values

HEX#40B04B
RGBrgb(64, 176, 75)
HSLhsl(126, 47%, 47%)
HSVhsv(126, 64%, 69%)
CMYKcmyk(63.6%, 0%, 57.4%, 31%)
CIE-LABlab(63.87, -52.40, 41.93)
CIE-LCHlch(63.87, 67.11, 141.33°)
OKLaboklab(67.1% -0.1418 0.0995)
OKLCHoklch(67.1% 0.173 145)
XYZxyz(18.9085, 32.6468, 11.9602)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B04B #B040A5
analogous
#6DB040 #40B04B #40B083
triadic
#40B04B #4B40B0 #B04B40
tetradic
#40B04B #406DB0 #B040A5 #B08340
square
#40B04B #406DB0 #B040A5 #B08340
split-complementary
#40B04B #8340B0 #B0406D
monochromatic
#1F5625 #308338 #40B04B #66C76F #93D89A

Accessibility & contrast

On white

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

On black

7.53
#40B04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B04B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B04B#FFFFFF#000000##000000
##40B04B1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A141
Deuteranopia (green-blind)
#A59753
Tritanopia (blue-blind)
#25AC9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b04b;
/* rgb */ color: rgb(64, 176, 75);
/* oklch */ color: oklch(67.1% 0.173 145.0);
Tailwind
colors: {
  custom: {
    50: '#82c980',
    500: '#40b04b',
    950: '#000000',
  },
}
SCSS
$custom: #40b04b;
$custom-light: #82c980;
$custom-dark: #000000;
JSON
{
  "hex": "#40b04b",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 125.893,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67103,
    "c": 0.17327,
    "h": 145
  },
  "luminance": 0.32649
}

Semantic roles & 50–950 ramp

primary
#40B04B
secondary
#C389BD
accent
#51C9D6
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40B04B

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

Preview Lab → · Contrast checker → · Palette generator →

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