#40B774#40B774

#40B774 is a light, vivid green. Relative luminance 0.362; OKLCH L 69.6% C 0.145 H 154.8°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#40B774
RGBrgb(64, 183, 116)
HSLhsl(146, 48%, 48%)
HSVhsv(146, 65%, 72%)
CMYKcmyk(65%, 0%, 36.6%, 28.2%)
CIE-LABlab(66.68, -48.48, 24.60)
CIE-LCHlch(66.68, 54.37, 153.10°)
OKLaboklab(69.61% -0.1313 0.0617)
OKLCHoklch(69.61% 0.145 154.8)
XYZxyz(22.1983, 36.2156, 22.3401)
Luminance0.3622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B774 #B74083
analogous
#48B740 #40B774 #40B7AF
triadic
#40B774 #7440B7 #B77440
tetradic
#40B774 #4048B7 #B74083 #B7AF40
square
#40B774 #4048B7 #B74083 #B7AF40
split-complementary
#40B774 #AF40B7 #B74048
monochromatic
#205C3B #308A57 #40B774 #69CB94 #97DBB4

Accessibility & contrast

On white

2.55
#40B774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#40B774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B774
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B774#FFFFFF#000000##000000
##40B7741.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A970
Deuteranopia (green-blind)
#A79E78
Tritanopia (blue-blind)
#00B5A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b774;
/* rgb */ color: rgb(64, 183, 116);
/* oklch */ color: oklch(69.6% 0.145 154.8);
Tailwind
colors: {
  custom: {
    50: '#82cd9c',
    500: '#40b774',
    950: '#000000',
  },
}
SCSS
$custom: #40b774;
$custom-light: #82cd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b774",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 116
  },
  "hsl": {
    "h": 146.218,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69612,
    "c": 0.14506,
    "h": 154.8
  },
  "luminance": 0.36218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B774

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

Preview Lab → · Contrast checker → · Palette generator →

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