#40B347#40B347

#40B347 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.8% C 0.180 H 144.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#40B347
RGBrgb(64, 179, 71)
HSLhsl(124, 47%, 48%)
HSVhsv(124, 64%, 70%)
CMYKcmyk(64.2%, 0%, 60.3%, 29.8%)
CIE-LABlab(64.79, -53.99, 44.86)
CIE-LCHlch(64.79, 70.20, 140.27°)
OKLaboklab(67.85% -0.1463 0.1055)
OKLCHoklch(67.85% 0.18 144.2)
XYZxyz(19.3706, 33.7832, 11.4600)
Luminance0.3378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B347 #B340AC
analogous
#73B340 #40B347 #40B380
triadic
#40B347 #4740B3 #B34740
tetradic
#40B347 #4073B3 #B340AC #B38040
square
#40B347 #4073B3 #B340AC #B38040
split-complementary
#40B347 #8040B3 #B34073
monochromatic
#205923 #308635 #40B347 #67C96D #94D999

Accessibility & contrast

On white

2.71
#40B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#40B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B347
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B347#FFFFFF#000000##000000
##40B3471.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33B
Deuteranopia (green-blind)
#A89950
Tritanopia (blue-blind)
#25AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b347;
/* rgb */ color: rgb(64, 179, 71);
/* oklch */ color: oklch(67.8% 0.180 144.2);
Tailwind
colors: {
  custom: {
    50: '#82cb7e',
    500: '#40b347',
    950: '#000000',
  },
}
SCSS
$custom: #40b347;
$custom-light: #82cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b347",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 123.652,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.18039,
    "h": 144.2
  },
  "luminance": 0.33785
}

Semantic roles & 50–950 ramp

primary
#40B347
secondary
#C48AC1
accent
#51CFD7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B347

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

Preview Lab → · Contrast checker → · Palette generator →

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