#40B070#40B070

#40B070 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.7% C 0.139 H 154.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40B070
RGBrgb(64, 176, 112)
HSLhsl(146, 47%, 47%)
HSVhsv(146, 64%, 69%)
CMYKcmyk(63.6%, 0%, 36.4%, 31%)
CIE-LABlab(64.41, -46.44, 23.69)
CIE-LCHlch(64.41, 52.13, 152.97°)
OKLaboklab(67.72% -0.1258 0.0594)
OKLCHoklch(67.72% 0.139 154.7)
XYZxyz(20.5626, 33.3084, 20.6716)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B070 #B04080
analogous
#48B040 #40B070 #40B0A8
triadic
#40B070 #7040B0 #B07040
tetradic
#40B070 #4048B0 #B04080 #B0A840
square
#40B070 #4048B0 #B04080 #B0A840
split-complementary
#40B070 #A840B0 #B04048
monochromatic
#1F5637 #308353 #40B070 #66C790 #93D8B0

Accessibility & contrast

On white

2.74
#40B070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#40B070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B070
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B070#FFFFFF#000000##000000
##40B0701.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A26C
Deuteranopia (green-blind)
#A19874
Tritanopia (blue-blind)
#07AEA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b070;
/* rgb */ color: rgb(64, 176, 112);
/* oklch */ color: oklch(67.7% 0.139 154.7);
Tailwind
colors: {
  custom: {
    50: '#81c899',
    500: '#40b070',
    950: '#000000',
  },
}
SCSS
$custom: #40b070;
$custom-light: #81c899;
$custom-dark: #000000;
JSON
{
  "hex": "#40b070",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 112
  },
  "hsl": {
    "h": 145.714,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.13915,
    "h": 154.7
  },
  "luminance": 0.33311
}

Semantic roles & 50–950 ramp

primary
#40B070
secondary
#C389AA
accent
#519DD6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B070

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

Preview Lab → · Contrast checker → · Palette generator →

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