#40B875#40B875

#40B875 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.9% C 0.145 H 155.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#40B875
RGBrgb(64, 184, 117)
HSLhsl(147, 48%, 49%)
HSVhsv(147, 65%, 72%)
CMYKcmyk(65.2%, 0%, 36.4%, 27.8%)
CIE-LABlab(67.02, -48.69, 24.51)
CIE-LCHlch(67.02, 54.51, 153.28°)
OKLaboklab(69.89% -0.1319 0.0615)
OKLCHoklch(69.89% 0.145 155)
XYZxyz(22.4638, 36.6530, 22.7170)
Luminance0.3665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B875 #B84083
analogous
#47B840 #40B875 #40B8B1
triadic
#40B875 #7540B8 #B87540
tetradic
#40B875 #4047B8 #B84083 #B8B140
square
#40B875 #4047B8 #B84083 #B8B140
split-complementary
#40B875 #B140B8 #B84047
monochromatic
#205D3B #308B58 #40B875 #6ACB95 #97DBB5

Accessibility & contrast

On white

2.52
#40B875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#40B875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B875
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B875#FFFFFF#000000##000000
##40B8751.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA71
Deuteranopia (green-blind)
#A89F79
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b875;
/* rgb */ color: rgb(64, 184, 117);
/* oklch */ color: oklch(69.9% 0.145 155.0);
Tailwind
colors: {
  custom: {
    50: '#82ce9d',
    500: '#40b875',
    950: '#000000',
  },
}
SCSS
$custom: #40b875;
$custom-light: #82ce9d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b875",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 117
  },
  "hsl": {
    "h": 146.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6989,
    "c": 0.14549,
    "h": 155
  },
  "luminance": 0.36655
}

Semantic roles & 50–950 ramp

primary
#40B875
secondary
#C78DAD
accent
#509CD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B875

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

Preview Lab → · Contrast checker → · Palette generator →

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