#40B064#40B064

#40B064 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.5% C 0.151 H 150.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#40B064
RGBrgb(64, 176, 100)
HSLhsl(139, 47%, 47%)
HSVhsv(139, 64%, 69%)
CMYKcmyk(63.6%, 0%, 43.2%, 31%)
CIE-LABlab(64.21, -48.64, 29.79)
CIE-LCHlch(64.21, 57.03, 148.51°)
OKLaboklab(67.49% -0.1313 0.0735)
OKLCHoklch(67.49% 0.151 150.8)
XYZxyz(19.9384, 33.0587, 17.3843)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B064 #B0408C
analogous
#54B040 #40B064 #40B09C
triadic
#40B064 #6440B0 #B06440
tetradic
#40B064 #4054B0 #B0408C #B09C40
square
#40B064 #4054B0 #B0408C #B09C40
split-complementary
#40B064 #9C40B0 #B04054
monochromatic
#1F5631 #30834B #40B064 #66C785 #93D8A9

Accessibility & contrast

On white

2.76
#40B064 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#40B064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B064
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B064#FFFFFF#000000##000000
##40B0641.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25E
Deuteranopia (green-blind)
#A29869
Tritanopia (blue-blind)
#16AD9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b064;
/* rgb */ color: rgb(64, 176, 100);
/* oklch */ color: oklch(67.5% 0.151 150.8);
Tailwind
colors: {
  custom: {
    50: '#81c891',
    500: '#40b064',
    950: '#000000',
  },
}
SCSS
$custom: #40b064;
$custom-light: #81c891;
$custom-dark: #000000;
JSON
{
  "hex": "#40b064",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 100
  },
  "hsl": {
    "h": 139.286,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67488,
    "c": 0.15052,
    "h": 150.8
  },
  "luminance": 0.33061
}

Semantic roles & 50–950 ramp

primary
#40B064
secondary
#C389B0
accent
#51ACD6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #40B064

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

Preview Lab → · Contrast checker → · Palette generator →

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