#40B048#40B048

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

Color values

HEX#40B048
RGBrgb(64, 176, 72)
HSLhsl(124, 47%, 47%)
HSVhsv(124, 64%, 69%)
CMYKcmyk(63.6%, 0%, 59.1%, 31%)
CIE-LABlab(63.84, -52.78, 43.30)
CIE-LCHlch(63.84, 68.27, 140.63°)
OKLaboklab(67.07% -0.143 0.1022)
OKLCHoklch(67.07% 0.176 144.4)
XYZxyz(18.8082, 32.6067, 11.4322)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B048 #B040A8
analogous
#70B040 #40B048 #40B080
triadic
#40B048 #4840B0 #B04840
tetradic
#40B048 #4070B0 #B040A8 #B08040
square
#40B048 #4070B0 #B040A8 #B08040
split-complementary
#40B048 #8040B0 #B04070
monochromatic
#1F5623 #308336 #40B048 #66C76D #93D898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B048#FFFFFF#000000##000000
##40B0481.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)
#B3A03D
Deuteranopia (green-blind)
#A59750
Tritanopia (blue-blind)
#26AB99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b048;
/* rgb */ color: rgb(64, 176, 72);
/* oklch */ color: oklch(67.1% 0.176 144.4);
Tailwind
colors: {
  custom: {
    50: '#82c97e',
    500: '#40b048',
    950: '#000000',
  },
}
SCSS
$custom: #40b048;
$custom-light: #82c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b048",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 124.286,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67066,
    "c": 0.17577,
    "h": 144.4
  },
  "luminance": 0.32609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B048

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

Preview Lab → · Contrast checker → · Palette generator →

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