#40B062#40B062

#40B062 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.5% C 0.152 H 150.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#40B062
RGBrgb(64, 176, 98)
HSLhsl(138, 47%, 47%)
HSVhsv(138, 64%, 69%)
CMYKcmyk(63.6%, 0%, 44.3%, 31%)
CIE-LABlab(64.18, -48.98, 30.80)
CIE-LCHlch(64.18, 57.86, 147.84°)
OKLaboklab(67.45% -0.1322 0.0758)
OKLCHoklch(67.45% 0.152 150.2)
XYZxyz(19.8428, 33.0205, 16.8808)
Luminance0.3302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B062 #B0408E
analogous
#56B040 #40B062 #40B09A
triadic
#40B062 #6240B0 #B06240
tetradic
#40B062 #4056B0 #B0408E #B09A40
square
#40B062 #4056B0 #B0408E #B09A40
split-complementary
#40B062 #9A40B0 #B04056
monochromatic
#1F5630 #308349 #40B062 #66C783 #93D8A8

Accessibility & contrast

On white

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

On black

7.60
#40B062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B062
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B062#FFFFFF#000000##000000
##40B0621.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25C
Deuteranopia (green-blind)
#A39867
Tritanopia (blue-blind)
#18AD9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b062;
/* rgb */ color: rgb(64, 176, 98);
/* oklch */ color: oklch(67.5% 0.152 150.2);
Tailwind
colors: {
  custom: {
    50: '#81c88f',
    500: '#40b062',
    950: '#000000',
  },
}
SCSS
$custom: #40b062;
$custom-light: #81c88f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b062",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 98
  },
  "hsl": {
    "h": 138.214,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67452,
    "c": 0.15242,
    "h": 150.2
  },
  "luminance": 0.33022
}

Semantic roles & 50–950 ramp

primary
#40B062
secondary
#C389B1
accent
#51AED6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B062

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

Preview Lab → · Contrast checker → · Palette generator →

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