#40B351#40B351

#40B351 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.0% C 0.172 H 145.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#40B351
RGBrgb(64, 179, 81)
HSLhsl(129, 47%, 48%)
HSVhsv(129, 64%, 70%)
CMYKcmyk(64.2%, 0%, 54.7%, 29.8%)
CIE-LABlab(64.90, -52.72, 40.27)
CIE-LCHlch(64.90, 66.34, 142.62°)
OKLaboklab(67.97% -0.1425 0.0963)
OKLCHoklch(67.97% 0.172 145.9)
XYZxyz(19.7184, 33.9223, 13.2915)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B351 #B340A2
analogous
#68B340 #40B351 #40B38B
triadic
#40B351 #5140B3 #B35140
tetradic
#40B351 #4068B3 #B340A2 #B38B40
square
#40B351 #4068B3 #B340A2 #B38B40
split-complementary
#40B351 #8B40B3 #B34068
monochromatic
#205928 #30863D #40B351 #67C976 #94D99F

Accessibility & contrast

On white

2.70
#40B351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#40B351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B351
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B351#FFFFFF#000000##000000
##40B3511.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A348
Deuteranopia (green-blind)
#A79A58
Tritanopia (blue-blind)
#21AF9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b351;
/* rgb */ color: rgb(64, 179, 81);
/* oklch */ color: oklch(68.0% 0.172 145.9);
Tailwind
colors: {
  custom: {
    50: '#82cb84',
    500: '#40b351',
    950: '#000000',
  },
}
SCSS
$custom: #40b351;
$custom-light: #82cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b351",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 128.87,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.17199,
    "h": 145.9
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#40B351
secondary
#C48ABC
accent
#51C3D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B351

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

Preview Lab → · Contrast checker → · Palette generator →

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