#40B454#40B454

#40B454 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.3% C 0.171 H 146.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#40B454
RGBrgb(64, 180, 84)
HSLhsl(130, 48%, 48%)
HSVhsv(130, 64%, 71%)
CMYKcmyk(64.4%, 0%, 53.3%, 29.4%)
CIE-LABlab(65.26, -52.67, 39.24)
CIE-LCHlch(65.26, 65.68, 143.32°)
OKLaboklab(68.28% -0.1423 0.0942)
OKLCHoklch(68.28% 0.171 146.5)
XYZxyz(20.0345, 34.3706, 13.9642)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B454 #B440A0
analogous
#66B440 #40B454 #40B48E
triadic
#40B454 #5440B4 #B45440
tetradic
#40B454 #4066B4 #B440A0 #B48E40
square
#40B454 #4066B4 #B440A0 #B48E40
split-complementary
#40B454 #8E40B4 #B44066
monochromatic
#205A2A #30873F #40B454 #68C979 #95D9A1

Accessibility & contrast

On white

2.67
#40B454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#40B454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B454
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B454#FFFFFF#000000##000000
##40B4541.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44B
Deuteranopia (green-blind)
#A89B5B
Tritanopia (blue-blind)
#1FB09E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b454;
/* rgb */ color: rgb(64, 180, 84);
/* oklch */ color: oklch(68.3% 0.171 146.5);
Tailwind
colors: {
  custom: {
    50: '#82cb86',
    500: '#40b454',
    950: '#000000',
  },
}
SCSS
$custom: #40b454;
$custom-light: #82cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#40b454",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 130.345,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.17065,
    "h": 146.5
  },
  "luminance": 0.34373
}

Semantic roles & 50–950 ramp

primary
#40B454
secondary
#C58BBB
accent
#51C0D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B454

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

Preview Lab → · Contrast checker → · Palette generator →

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