#40B949#40B949

#40B949 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.186 H 144.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#40B949
RGBrgb(64, 185, 73)
HSLhsl(124, 49%, 49%)
HSVhsv(124, 65%, 73%)
CMYKcmyk(65.4%, 0%, 60.5%, 27.5%)
CIE-LABlab(66.72, -55.91, 46.17)
CIE-LCHlch(66.72, 72.51, 140.45°)
OKLaboklab(69.45% -0.1514 0.1085)
OKLCHoklch(69.45% 0.186 144.4)
XYZxyz(20.6646, 36.2668, 12.2132)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B949 #B940B0
analogous
#74B940 #40B949 #40B986
triadic
#40B949 #4940B9 #B94940
tetradic
#40B949 #4074B9 #B940B0 #B98640
square
#40B949 #4074B9 #B940B0 #B98640
split-complementary
#40B949 #8640B9 #B94074
monochromatic
#215E25 #308C37 #40B949 #6BCC72 #98DB9D

Accessibility & contrast

On white

2.54
#40B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#40B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B949
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B949#FFFFFF#000000##000000
##40B9491.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83D
Deuteranopia (green-blind)
#AE9E52
Tritanopia (blue-blind)
#21B4A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b949;
/* rgb */ color: rgb(64, 185, 73);
/* oklch */ color: oklch(69.5% 0.186 144.4);
Tailwind
colors: {
  custom: {
    50: '#83cf7f',
    500: '#40b949',
    950: '#000000',
  },
}
SCSS
$custom: #40b949;
$custom-light: #83cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b949",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 124.463,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.6945,
    "c": 0.18629,
    "h": 144.4
  },
  "luminance": 0.36269
}

Semantic roles & 50–950 ramp

primary
#40B949
secondary
#C78EC3
accent
#50CED8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B949

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

Preview Lab → · Contrast checker → · Palette generator →

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