#40B276#40B276

#40B276 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.4% C 0.136 H 156.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#40B276
RGBrgb(64, 178, 118)
HSLhsl(148, 47%, 47%)
HSVhsv(148, 64%, 70%)
CMYKcmyk(64%, 0%, 33.7%, 30.2%)
CIE-LABlab(65.15, -46.07, 21.46)
CIE-LCHlch(65.15, 50.82, 155.02°)
OKLaboklab(68.36% -0.1251 0.0541)
OKLCHoklch(68.36% 0.136 156.6)
XYZxyz(21.3029, 34.2366, 22.6217)
Luminance0.3424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B276 #B2407C
analogous
#43B240 #40B276 #40B2AF
triadic
#40B276 #7640B2 #B27640
tetradic
#40B276 #4043B2 #B2407C #B2AF40
square
#40B276 #4043B2 #B2407C #B2AF40
split-complementary
#40B276 #AF40B2 #B24043
monochromatic
#20583A #308558 #40B276 #67C895 #94D8B4

Accessibility & contrast

On white

2.68
#40B276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#40B276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B276
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B276#FFFFFF#000000##000000
##40B2761.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A572
Deuteranopia (green-blind)
#A29A7A
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b276;
/* rgb */ color: rgb(64, 178, 118);
/* oklch */ color: oklch(68.4% 0.136 156.6);
Tailwind
colors: {
  custom: {
    50: '#81ca9e',
    500: '#40b276',
    950: '#000000',
  },
}
SCSS
$custom: #40b276;
$custom-light: #81ca9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b276",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 118
  },
  "hsl": {
    "h": 148.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68363,
    "c": 0.13633,
    "h": 156.6
  },
  "luminance": 0.34239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B276

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

Preview Lab → · Contrast checker → · Palette generator →

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