#40B268#40B268

#40B268 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.1% C 0.149 H 151.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#40B268
RGBrgb(64, 178, 104)
HSLhsl(141, 47%, 47%)
HSVhsv(141, 64%, 70%)
CMYKcmyk(64%, 0%, 41.6%, 30.2%)
CIE-LABlab(64.91, -48.72, 28.60)
CIE-LCHlch(64.91, 56.50, 149.59°)
OKLaboklab(68.08% -0.1316 0.0709)
OKLCHoklch(68.08% 0.149 151.7)
XYZxyz(20.5318, 33.9282, 18.5608)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B268 #B2408A
analogous
#51B240 #40B268 #40B2A1
triadic
#40B268 #6840B2 #B26840
tetradic
#40B268 #4051B2 #B2408A #B2A140
square
#40B268 #4051B2 #B2408A #B2A140
split-complementary
#40B268 #A140B2 #B24051
monochromatic
#205833 #30854E #40B268 #67C889 #94D8AC

Accessibility & contrast

On white

2.70
#40B268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#40B268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B268
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B268#FFFFFF#000000##000000
##40B2681.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A463
Deuteranopia (green-blind)
#A4996D
Tritanopia (blue-blind)
#11AFA0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b268;
/* rgb */ color: rgb(64, 178, 104);
/* oklch */ color: oklch(68.1% 0.149 151.7);
Tailwind
colors: {
  custom: {
    50: '#81ca94',
    500: '#40b268',
    950: '#000000',
  },
}
SCSS
$custom: #40b268;
$custom-light: #81ca94;
$custom-dark: #000000;
JSON
{
  "hex": "#40b268",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 104
  },
  "hsl": {
    "h": 141.053,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68082,
    "c": 0.14948,
    "h": 151.7
  },
  "luminance": 0.3393
}

Semantic roles & 50–950 ramp

primary
#40B268
secondary
#C48AB0
accent
#51A8D7
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B268

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

Preview Lab → · Contrast checker → · Palette generator →

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