#40B461#40B461

#40B461 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.5% C 0.159 H 149.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#40B461
RGBrgb(64, 180, 97)
HSLhsl(137, 48%, 48%)
HSVhsv(137, 64%, 71%)
CMYKcmyk(64.4%, 0%, 46.1%, 29.4%)
CIE-LABlab(65.43, -50.70, 32.92)
CIE-LCHlch(65.43, 60.45, 147.00°)
OKLaboklab(68.48% -0.1368 0.0806)
OKLCHoklch(68.48% 0.159 149.5)
XYZxyz(20.5917, 34.5935, 16.8990)
Luminance0.3460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B461 #B44093
analogous
#59B440 #40B461 #40B49B
triadic
#40B461 #6140B4 #B46140
tetradic
#40B461 #4059B4 #B44093 #B49B40
square
#40B461 #4059B4 #B44093 #B49B40
split-complementary
#40B461 #9B40B4 #B44059
monochromatic
#205A30 #308749 #40B461 #68C984 #95D9A8

Accessibility & contrast

On white

2.65
#40B461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#40B461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B461
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B461#FFFFFF#000000##000000
##40B4611.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55B
Deuteranopia (green-blind)
#A79B67
Tritanopia (blue-blind)
#16B1A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b461;
/* rgb */ color: rgb(64, 180, 97);
/* oklch */ color: oklch(68.5% 0.159 149.5);
Tailwind
colors: {
  custom: {
    50: '#82cb8f',
    500: '#40b461',
    950: '#000000',
  },
}
SCSS
$custom: #40b461;
$custom-light: #82cb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b461",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 97
  },
  "hsl": {
    "h": 137.069,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6848,
    "c": 0.1588,
    "h": 149.5
  },
  "luminance": 0.34596
}

Semantic roles & 50–950 ramp

primary
#40B461
secondary
#C58BB4
accent
#51B1D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B461

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

Preview Lab → · Contrast checker → · Palette generator →

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