#40A45B#40A45B

#40A45B is a light, vivid green. Relative luminance 0.284; OKLCH L 64.2% C 0.142 H 149.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#40A45B
RGBrgb(64, 164, 91)
HSLhsl(136, 44%, 45%)
HSVhsv(136, 61%, 64%)
CMYKcmyk(61%, 0%, 44.5%, 35.7%)
CIE-LABlab(60.24, -45.40, 29.40)
CIE-LCHlch(60.24, 54.09, 147.07°)
OKLaboklab(64.18% -0.1227 0.0723)
OKLCHoklch(64.18% 0.142 149.5)
XYZxyz(17.2769, 28.3946, 14.4657)
Luminance0.2840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A45B #A44089
analogous
#57A440 #40A45B #40A48D
triadic
#40A45B #5B40A4 #A45B40
tetradic
#40A45B #4057A4 #A44089 #A48D40
square
#40A45B #4057A4 #A44089 #A48D40
split-complementary
#40A45B #8D40A4 #A44057
monochromatic
#1E4C2A #2F7843 #40A45B #60C17A #8CD29F

Accessibility & contrast

On white

3.14
#40A45B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#40A45B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A45B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A45B#FFFFFF#000000##000000
##40A45B1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59756
Deuteranopia (green-blind)
#988E60
Tritanopia (blue-blind)
#23A192
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a45b;
/* rgb */ color: rgb(64, 164, 91);
/* oklch */ color: oklch(64.2% 0.142 149.5);
Tailwind
colors: {
  custom: {
    50: '#7fc08a',
    500: '#40a45b',
    950: '#000000',
  },
}
SCSS
$custom: #40a45b;
$custom-light: #7fc08a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a45b",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 91
  },
  "hsl": {
    "h": 136.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6418,
    "c": 0.14245,
    "h": 149.5
  },
  "luminance": 0.28396
}

Semantic roles & 50–950 ramp

primary
#40A45B
secondary
#BD83AD
accent
#54B1D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A45B

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

Preview Lab → · Contrast checker → · Palette generator →

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