#40B259#40B259

#40B259 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.164 H 147.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#40B259
RGBrgb(64, 178, 89)
HSLhsl(133, 47%, 47%)
HSVhsv(133, 64%, 70%)
CMYKcmyk(64%, 0%, 50%, 30.2%)
CIE-LABlab(64.68, -51.19, 36.05)
CIE-LCHlch(64.68, 62.61, 144.85°)
OKLaboklab(67.83% -0.1382 0.0874)
OKLCHoklch(67.83% 0.164 147.7)
XYZxyz(19.8365, 33.6500, 14.8990)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B259 #B24099
analogous
#60B240 #40B259 #40B292
triadic
#40B259 #5940B2 #B25940
tetradic
#40B259 #4060B2 #B24099 #B29240
square
#40B259 #4060B2 #B24099 #B29240
split-complementary
#40B259 #9240B2 #B24060
monochromatic
#20582C #308542 #40B259 #67C87C #94D8A3

Accessibility & contrast

On white

2.72
#40B259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#40B259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B259
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B259#FFFFFF#000000##000000
##40B2591.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A352
Deuteranopia (green-blind)
#A6995F
Tritanopia (blue-blind)
#1DAE9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b259;
/* rgb */ color: rgb(64, 178, 89);
/* oklch */ color: oklch(67.8% 0.164 147.7);
Tailwind
colors: {
  custom: {
    50: '#81ca89',
    500: '#40b259',
    950: '#000000',
  },
}
SCSS
$custom: #40b259;
$custom-light: #81ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#40b259",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 89
  },
  "hsl": {
    "h": 133.158,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67827,
    "c": 0.16351,
    "h": 147.7
  },
  "luminance": 0.33652
}

Semantic roles & 50–950 ramp

primary
#40B259
secondary
#C48AB7
accent
#51B9D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B259

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

Preview Lab → · Contrast checker → · Palette generator →

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