#40B167#40B167

#40B167 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.8% C 0.149 H 151.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#40B167
RGBrgb(64, 177, 103)
HSLhsl(141, 47%, 47%)
HSVhsv(141, 64%, 69%)
CMYKcmyk(63.8%, 0%, 41.8%, 30.6%)
CIE-LABlab(64.57, -48.51, 28.69)
CIE-LCHlch(64.57, 56.35, 149.40°)
OKLaboklab(67.8% -0.131 0.0711)
OKLCHoklch(67.8% 0.149 151.5)
XYZxyz(20.2831, 33.5115, 18.2288)
Luminance0.3351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B167 #B1408A
analogous
#52B140 #40B167 #40B1A0
triadic
#40B167 #6740B1 #B16740
tetradic
#40B167 #4052B1 #B1408A #B1A040
square
#40B167 #4052B1 #B1408A #B1A040
split-complementary
#40B167 #A040B1 #B14052
monochromatic
#1F5733 #30844D #40B167 #66C888 #93D8AB

Accessibility & contrast

On white

2.73
#40B167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#40B167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B167
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B167#FFFFFF#000000##000000
##40B1671.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A362
Deuteranopia (green-blind)
#A3996C
Tritanopia (blue-blind)
#13AE9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b167;
/* rgb */ color: rgb(64, 177, 103);
/* oklch */ color: oklch(67.8% 0.149 151.5);
Tailwind
colors: {
  custom: {
    50: '#81c993',
    500: '#40b167',
    950: '#000000',
  },
}
SCSS
$custom: #40b167;
$custom-light: #81c993;
$custom-dark: #000000;
JSON
{
  "hex": "#40b167",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 103
  },
  "hsl": {
    "h": 140.708,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67803,
    "c": 0.14905,
    "h": 151.5
  },
  "luminance": 0.33514
}

Semantic roles & 50–950 ramp

primary
#40B167
secondary
#C389AF
accent
#51A9D7
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B167

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

Preview Lab → · Contrast checker → · Palette generator →

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