#40A159#40A159

#40A159 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.4% C 0.140 H 149.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#40A159
RGBrgb(64, 161, 89)
HSLhsl(135, 43%, 44%)
HSVhsv(135, 60%, 63%)
CMYKcmyk(60.2%, 0%, 44.7%, 36.9%)
CIE-LABlab(59.25, -44.53, 29.18)
CIE-LCHlch(59.25, 53.24, 146.76°)
OKLaboklab(63.35% -0.1204 0.0718)
OKLCHoklch(63.35% 0.14 149.2)
XYZxyz(16.6612, 27.2994, 13.8405)
Luminance0.2730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A159 #A14088
analogous
#58A140 #40A159 #40A18A
triadic
#40A159 #5940A1 #A15940
tetradic
#40A159 #4058A1 #A14088 #A18A40
square
#40A159 #4058A1 #A14088 #A18A40
split-complementary
#40A159 #8A40A1 #A14058
monochromatic
#1D4929 #2F7541 #40A159 #5FBF78 #8BD19D

Accessibility & contrast

On white

3.25
#40A159 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#40A159 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A159
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A159#FFFFFF#000000##000000
##40A1591.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29454
Deuteranopia (green-blind)
#968B5E
Tritanopia (blue-blind)
#269E90
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a159;
/* rgb */ color: rgb(64, 161, 89);
/* oklch */ color: oklch(63.4% 0.140 149.2);
Tailwind
colors: {
  custom: {
    50: '#7ebe89',
    500: '#40a159',
    950: '#000000',
  },
}
SCSS
$custom: #40a159;
$custom-light: #7ebe89;
$custom-dark: #000000;
JSON
{
  "hex": "#40a159",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 89
  },
  "hsl": {
    "h": 135.464,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63354,
    "c": 0.14015,
    "h": 149.2
  },
  "luminance": 0.27301
}

Semantic roles & 50–950 ramp

primary
#40A159
secondary
#BC81AD
accent
#55B2D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A159

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

Preview Lab → · Contrast checker → · Palette generator →

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