#40B072#40B072

#40B072 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.8% C 0.137 H 155.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40B072
RGBrgb(64, 176, 114)
HSLhsl(147, 47%, 47%)
HSVhsv(147, 64%, 69%)
CMYKcmyk(63.6%, 0%, 35.2%, 31%)
CIE-LABlab(64.45, -46.05, 22.66)
CIE-LCHlch(64.45, 51.32, 153.79°)
OKLaboklab(67.76% -0.1249 0.057)
OKLCHoklch(67.76% 0.137 155.5)
XYZxyz(20.6751, 33.3534, 21.2646)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B072 #B0407E
analogous
#46B040 #40B072 #40B0AA
triadic
#40B072 #7240B0 #B07240
tetradic
#40B072 #4046B0 #B0407E #B0AA40
square
#40B072 #4046B0 #B0407E #B0AA40
split-complementary
#40B072 #AA40B0 #B04046
monochromatic
#1F5638 #308355 #40B072 #66C791 #93D8B2

Accessibility & contrast

On white

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

On black

7.67
#40B072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B072
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B072#FFFFFF#000000##000000
##40B0721.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA36E
Deuteranopia (green-blind)
#A19876
Tritanopia (blue-blind)
#03AEA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b072;
/* rgb */ color: rgb(64, 176, 114);
/* oklch */ color: oklch(67.8% 0.137 155.5);
Tailwind
colors: {
  custom: {
    50: '#81c89b',
    500: '#40b072',
    950: '#000000',
  },
}
SCSS
$custom: #40b072;
$custom-light: #81c89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b072",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 114
  },
  "hsl": {
    "h": 146.786,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.13727,
    "h": 155.5
  },
  "luminance": 0.33356
}

Semantic roles & 50–950 ramp

primary
#40B072
secondary
#C389A9
accent
#519BD6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B072

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

Preview Lab → · Contrast checker → · Palette generator →

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