#40B751#40B751

#40B751 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.0% C 0.177 H 145.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#40B751
RGBrgb(64, 183, 81)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 65%, 72%)
CMYKcmyk(65%, 0%, 55.7%, 28.2%)
CIE-LABlab(66.17, -54.19, 41.80)
CIE-LCHlch(66.17, 68.44, 142.36°)
OKLaboklab(69.02% -0.1465 0.0997)
OKLCHoklch(69.02% 0.177 145.8)
XYZxyz(20.5317, 35.5489, 13.5626)
Luminance0.3555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B751 #B740A6
analogous
#6BB740 #40B751 #40B78C
triadic
#40B751 #5140B7 #B75140
tetradic
#40B751 #406BB7 #B740A6 #B78C40
square
#40B751 #406BB7 #B740A6 #B78C40
split-complementary
#40B751 #8C40B7 #B7406B
monochromatic
#205C29 #308A3D #40B751 #69CB77 #97DBA1

Accessibility & contrast

On white

2.59
#40B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#40B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B751
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B751#FFFFFF#000000##000000
##40B7511.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA747
Deuteranopia (green-blind)
#AB9D59
Tritanopia (blue-blind)
#1EB3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b751;
/* rgb */ color: rgb(64, 183, 81);
/* oklch */ color: oklch(69.0% 0.177 145.8);
Tailwind
colors: {
  custom: {
    50: '#83ce84',
    500: '#40b751',
    950: '#000000',
  },
}
SCSS
$custom: #40b751;
$custom-light: #83ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b751",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 128.571,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69024,
    "c": 0.17715,
    "h": 145.8
  },
  "luminance": 0.35551
}

Semantic roles & 50–950 ramp

primary
#40B751
secondary
#C68DBE
accent
#50C4D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B751

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

Preview Lab → · Contrast checker → · Palette generator →

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