#40B765#40B765

#40B765 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.159 H 150.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#40B765
RGBrgb(64, 183, 101)
HSLhsl(139, 48%, 48%)
HSVhsv(139, 65%, 72%)
CMYKcmyk(65%, 0%, 44.8%, 28.2%)
CIE-LABlab(66.44, -51.19, 32.15)
CIE-LCHlch(66.44, 60.44, 147.87°)
OKLaboklab(69.33% -0.1381 0.079)
OKLCHoklch(69.33% 0.159 150.2)
XYZxyz(21.3951, 35.8943, 18.1102)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B765 #B74092
analogous
#57B740 #40B765 #40B7A0
triadic
#40B765 #6540B7 #B76540
tetradic
#40B765 #4057B7 #B74092 #B7A040
square
#40B765 #4057B7 #B74092 #B7A040
split-complementary
#40B765 #A040B7 #B74057
monochromatic
#205C33 #308A4C #40B765 #69CB88 #97DBAC

Accessibility & contrast

On white

2.57
#40B765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#40B765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B765
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B765#FFFFFF#000000##000000
##40B7651.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A85F
Deuteranopia (green-blind)
#A99D6B
Tritanopia (blue-blind)
#0FB4A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b765;
/* rgb */ color: rgb(64, 183, 101);
/* oklch */ color: oklch(69.3% 0.159 150.2);
Tailwind
colors: {
  custom: {
    50: '#82cd92',
    500: '#40b765',
    950: '#000000',
  },
}
SCSS
$custom: #40b765;
$custom-light: #82cd92;
$custom-dark: #000000;
JSON
{
  "hex": "#40b765",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 101
  },
  "hsl": {
    "h": 138.655,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69329,
    "c": 0.15911,
    "h": 150.2
  },
  "luminance": 0.35897
}

Semantic roles & 50–950 ramp

primary
#40B765
secondary
#C68DB4
accent
#50AED8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B765

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

Preview Lab → · Contrast checker → · Palette generator →

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