#40B148#40B148

#40B148 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.3% C 0.177 H 144.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#40B148
RGBrgb(64, 177, 72)
HSLhsl(124, 47%, 47%)
HSVhsv(124, 64%, 69%)
CMYKcmyk(63.8%, 0%, 59.3%, 30.6%)
CIE-LABlab(64.16, -53.14, 43.68)
CIE-LCHlch(64.16, 68.79, 140.58°)
OKLaboklab(67.33% -0.144 0.103)
OKLCHoklch(67.33% 0.177 144.4)
XYZxyz(19.0050, 33.0003, 11.4978)
Luminance0.3300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B148 #B140A9
analogous
#70B140 #40B148 #40B181
triadic
#40B148 #4840B1 #B14840
tetradic
#40B148 #4070B1 #B140A9 #B18140
square
#40B148 #4070B1 #B140A9 #B18140
split-complementary
#40B148 #8140B1 #B14070
monochromatic
#1F5723 #308436 #40B148 #66C86D #93D898

Accessibility & contrast

On white

2.76
#40B148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#40B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B148
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B148#FFFFFF#000000##000000
##40B1481.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13D
Deuteranopia (green-blind)
#A69850
Tritanopia (blue-blind)
#26AC9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b148;
/* rgb */ color: rgb(64, 177, 72);
/* oklch */ color: oklch(67.3% 0.177 144.4);
Tailwind
colors: {
  custom: {
    50: '#82c97e',
    500: '#40b148',
    950: '#000000',
  },
}
SCSS
$custom: #40b148;
$custom-light: #82c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b148",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 124.248,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.6733,
    "c": 0.17704,
    "h": 144.4
  },
  "luminance": 0.33002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B148

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

Preview Lab → · Contrast checker → · Palette generator →

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