#40B068#40B068

#40B068 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.6% C 0.147 H 152.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40B068
RGBrgb(64, 176, 104)
HSLhsl(141, 47%, 47%)
HSVhsv(141, 64%, 69%)
CMYKcmyk(63.6%, 0%, 40.9%, 31%)
CIE-LABlab(64.27, -47.93, 27.77)
CIE-LCHlch(64.27, 55.39, 149.91°)
OKLaboklab(67.56% -0.1295 0.0689)
OKLCHoklch(67.56% 0.147 152)
XYZxyz(20.1368, 33.1381, 18.4291)
Luminance0.3314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B068 #B04088
analogous
#50B040 #40B068 #40B0A0
triadic
#40B068 #6840B0 #B06840
tetradic
#40B068 #4050B0 #B04088 #B0A040
square
#40B068 #4050B0 #B04088 #B0A040
split-complementary
#40B068 #A040B0 #B04050
monochromatic
#1F5633 #30834D #40B068 #66C789 #93D8AB

Accessibility & contrast

On white

2.75
#40B068 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40B068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B068
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B068#FFFFFF#000000##000000
##40B0681.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A263
Deuteranopia (green-blind)
#A2986D
Tritanopia (blue-blind)
#13AD9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b068;
/* rgb */ color: rgb(64, 176, 104);
/* oklch */ color: oklch(67.6% 0.147 152.0);
Tailwind
colors: {
  custom: {
    50: '#81c894',
    500: '#40b068',
    950: '#000000',
  },
}
SCSS
$custom: #40b068;
$custom-light: #81c894;
$custom-dark: #000000;
JSON
{
  "hex": "#40b068",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 104
  },
  "hsl": {
    "h": 141.429,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67562,
    "c": 0.14672,
    "h": 152
  },
  "luminance": 0.3314
}

Semantic roles & 50–950 ramp

primary
#40B068
secondary
#C389AE
accent
#51A7D6
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B068

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

Preview Lab → · Contrast checker → · Palette generator →

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