#40B348#40B348

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

Color values

HEX#40B348
RGBrgb(64, 179, 72)
HSLhsl(124, 47%, 48%)
HSVhsv(124, 64%, 70%)
CMYKcmyk(64.2%, 0%, 59.8%, 29.8%)
CIE-LABlab(64.80, -53.87, 44.42)
CIE-LCHlch(64.80, 69.82, 140.49°)
OKLaboklab(67.86% -0.1459 0.1046)
OKLCHoklch(67.86% 0.18 144.4)
XYZxyz(19.4030, 33.7961, 11.6304)
Luminance0.3380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B348 #B340AB
analogous
#71B340 #40B348 #40B381
triadic
#40B348 #4840B3 #B34840
tetradic
#40B348 #4071B3 #B340AB #B38140
square
#40B348 #4071B3 #B340AB #B38140
split-complementary
#40B348 #8140B3 #B34071
monochromatic
#205924 #308636 #40B348 #67C96E #94D999

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B348#FFFFFF#000000##000000
##40B3481.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)
#B6A33D
Deuteranopia (green-blind)
#A89951
Tritanopia (blue-blind)
#25AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b348;
/* rgb */ color: rgb(64, 179, 72);
/* oklch */ color: oklch(67.9% 0.180 144.4);
Tailwind
colors: {
  custom: {
    50: '#82cb7e',
    500: '#40b348',
    950: '#000000',
  },
}
SCSS
$custom: #40b348;
$custom-light: #82cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b348",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 124.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67858,
    "c": 0.17959,
    "h": 144.4
  },
  "luminance": 0.33798
}

Semantic roles & 50–950 ramp

primary
#40B348
secondary
#C48AC0
accent
#51CED7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B348

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

Preview Lab → · Contrast checker → · Palette generator →

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