#40B565#40B565

#40B565 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.8% C 0.156 H 150.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#40B565
RGBrgb(64, 181, 101)
HSLhsl(139, 48%, 48%)
HSVhsv(139, 65%, 71%)
CMYKcmyk(64.6%, 0%, 44.2%, 29%)
CIE-LABlab(65.81, -50.41, 31.33)
CIE-LCHlch(65.81, 59.36, 148.14°)
OKLaboklab(68.81% -0.1361 0.0771)
OKLCHoklch(68.81% 0.156 150.4)
XYZxyz(20.9856, 35.0752, 17.9736)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B565 #B54090
analogous
#56B540 #40B565 #40B59F
triadic
#40B565 #6540B5 #B56540
tetradic
#40B565 #4056B5 #B54090 #B59F40
square
#40B565 #4056B5 #B54090 #B59F40
split-complementary
#40B565 #9F40B5 #B54056
monochromatic
#205B33 #30884C #40B565 #68CA87 #96DAAB

Accessibility & contrast

On white

2.62
#40B565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#40B565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B565
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B565#FFFFFF#000000##000000
##40B5651.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65F
Deuteranopia (green-blind)
#A79C6A
Tritanopia (blue-blind)
#11B2A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b565;
/* rgb */ color: rgb(64, 181, 101);
/* oklch */ color: oklch(68.8% 0.156 150.4);
Tailwind
colors: {
  custom: {
    50: '#82cc92',
    500: '#40b565',
    950: '#000000',
  },
}
SCSS
$custom: #40b565;
$custom-light: #82cc92;
$custom-dark: #000000;
JSON
{
  "hex": "#40b565",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 101
  },
  "hsl": {
    "h": 138.974,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68809,
    "c": 0.15641,
    "h": 150.4
  },
  "luminance": 0.35077
}

Semantic roles & 50–950 ramp

primary
#40B565
secondary
#C58BB3
accent
#50ADD7
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C130D
muted
#7D827E

Preview Lab

Preview with #40B565

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

Preview Lab → · Contrast checker → · Palette generator →

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