#40B378#40B378

#40B378 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.7% C 0.136 H 157.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#40B378
RGBrgb(64, 179, 120)
HSLhsl(149, 47%, 48%)
HSVhsv(149, 64%, 70%)
CMYKcmyk(64.2%, 0%, 33%, 29.8%)
CIE-LABlab(65.50, -46.07, 20.86)
CIE-LCHlch(65.50, 50.57, 155.64°)
OKLaboklab(68.66% -0.1252 0.0527)
OKLCHoklch(68.66% 0.136 157.2)
XYZxyz(21.6227, 34.6840, 23.3208)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B378 #B3407B
analogous
#42B340 #40B378 #40B3B1
triadic
#40B378 #7840B3 #B37840
tetradic
#40B378 #4042B3 #B3407B #B3B140
square
#40B378 #4042B3 #B3407B #B3B140
split-complementary
#40B378 #B140B3 #B34042
monochromatic
#20593C #30865A #40B378 #67C997 #94D9B6

Accessibility & contrast

On white

2.65
#40B378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#40B378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B378
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B378#FFFFFF#000000##000000
##40B3781.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A674
Deuteranopia (green-blind)
#A39B7C
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b378;
/* rgb */ color: rgb(64, 179, 120);
/* oklch */ color: oklch(68.7% 0.136 157.2);
Tailwind
colors: {
  custom: {
    50: '#81ca9f',
    500: '#40b378',
    950: '#000000',
  },
}
SCSS
$custom: #40b378;
$custom-light: #81ca9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b378",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 120
  },
  "hsl": {
    "h": 149.217,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.13586,
    "h": 157.2
  },
  "luminance": 0.34686
}

Semantic roles & 50–950 ramp

primary
#40B378
secondary
#C48AA8
accent
#5196D7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B378

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

Preview Lab → · Contrast checker → · Palette generator →

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