#40B149#40B149

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

Color values

HEX#40B149
RGBrgb(64, 177, 73)
HSLhsl(125, 47%, 47%)
HSVhsv(125, 64%, 69%)
CMYKcmyk(63.8%, 0%, 58.8%, 30.6%)
CIE-LABlab(64.17, -53.02, 43.22)
CIE-LCHlch(64.17, 68.41, 140.81°)
OKLaboklab(67.34% -0.1436 0.1021)
OKLCHoklch(67.34% 0.176 144.6)
XYZxyz(19.0379, 33.0134, 11.6710)
Luminance0.3301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B149 #B140A8
analogous
#6FB140 #40B149 #40B182
triadic
#40B149 #4940B1 #B14940
tetradic
#40B149 #406FB1 #B140A8 #B18240
square
#40B149 #406FB1 #B140A8 #B18240
split-complementary
#40B149 #8240B1 #B1406F
monochromatic
#1F5724 #308436 #40B149 #66C86E #93D899

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B149#FFFFFF#000000##000000
##40B1491.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)
#B4A13E
Deuteranopia (green-blind)
#A69851
Tritanopia (blue-blind)
#25AC9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b149;
/* rgb */ color: rgb(64, 177, 73);
/* oklch */ color: oklch(67.3% 0.176 144.6);
Tailwind
colors: {
  custom: {
    50: '#82c97f',
    500: '#40b149',
    950: '#000000',
  },
}
SCSS
$custom: #40b149;
$custom-light: #82c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b149",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 124.779,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67342,
    "c": 0.17622,
    "h": 144.6
  },
  "luminance": 0.33015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B149

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

Preview Lab → · Contrast checker → · Palette generator →

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