#40995E#40995E

#40995E is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.3% C 0.124 H 152.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#40995E
RGBrgb(64, 153, 94)
HSLhsl(140, 41%, 43%)
HSVhsv(140, 58%, 60%)
CMYKcmyk(58.2%, 0%, 38.6%, 40%)
CIE-LABlab(56.76, -40.31, 23.24)
CIE-LCHlch(56.76, 46.53, 150.03°)
OKLaboklab(61.34% -0.1092 0.058)
OKLCHoklch(61.34% 0.124 152)
XYZxyz(15.5248, 24.6792, 14.5329)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40995E #99407B
analogous
#4E9940 #40995E #40998B
triadic
#40995E #5E4099 #995E40
tetradic
#40995E #404E99 #99407B #998B40
square
#40995E #404E99 #99407B #998B40
split-complementary
#40995E #8B4099 #99404E
monochromatic
#1C4329 #2E6E43 #40995E #5CBB7C #87CD9E

Accessibility & contrast

On white

3.54
#40995E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#40995E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40995E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40995E#FFFFFF#000000##000000
##40995E1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5A
Deuteranopia (green-blind)
#8D8562
Tritanopia (blue-blind)
#27978A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40995e;
/* rgb */ color: rgb(64, 153, 94);
/* oklch */ color: oklch(61.3% 0.124 152.0);
Tailwind
colors: {
  custom: {
    50: '#7db88c',
    500: '#40995e',
    950: '#000000',
  },
}
SCSS
$custom: #40995e;
$custom-light: #7db88c;
$custom-dark: #000000;
JSON
{
  "hex": "#40995e",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 94
  },
  "hsl": {
    "h": 140.225,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.12369,
    "h": 152
  },
  "luminance": 0.24681
}

Semantic roles & 50–950 ramp

primary
#40995E
secondary
#B77EA4
accent
#57A8D1
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40995E

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

Preview Lab → · Contrast checker → · Palette generator →

#40995E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva