#40B25D#40B25D

#40B25D is a light, vivid green. Relative luminance 0.337; OKLCH L 67.9% C 0.160 H 148.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#40B25D
RGBrgb(64, 178, 93)
HSLhsl(135, 47%, 47%)
HSVhsv(135, 64%, 70%)
CMYKcmyk(64%, 0%, 47.8%, 30.2%)
CIE-LABlab(64.74, -50.57, 34.09)
CIE-LCHlch(64.74, 60.99, 146.02°)
OKLaboklab(67.89% -0.1365 0.0832)
OKLCHoklch(67.89% 0.16 148.7)
XYZxyz(20.0091, 33.7191, 15.8078)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B25D #B24095
analogous
#5CB240 #40B25D #40B296
triadic
#40B25D #5D40B2 #B25D40
tetradic
#40B25D #405CB2 #B24095 #B29640
square
#40B25D #405CB2 #B24095 #B29640
split-complementary
#40B25D #9640B2 #B2405C
monochromatic
#20582E #308545 #40B25D #67C880 #94D8A5

Accessibility & contrast

On white

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

On black

7.74
#40B25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B25D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B25D#FFFFFF#000000##000000
##40B25D1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A356
Deuteranopia (green-blind)
#A59963
Tritanopia (blue-blind)
#1AAF9E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b25d;
/* rgb */ color: rgb(64, 178, 93);
/* oklch */ color: oklch(67.9% 0.160 148.7);
Tailwind
colors: {
  custom: {
    50: '#81ca8c',
    500: '#40b25d',
    950: '#000000',
  },
}
SCSS
$custom: #40b25d;
$custom-light: #81ca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b25d",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 93
  },
  "hsl": {
    "h": 135.263,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67891,
    "c": 0.15982,
    "h": 148.7
  },
  "luminance": 0.33721
}

Semantic roles & 50–950 ramp

primary
#40B25D
secondary
#C48AB5
accent
#51B5D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B25D

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

Preview Lab → · Contrast checker → · Palette generator →

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