#40995C#40995C

#40995C is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.3% C 0.126 H 151.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#40995C
RGBrgb(64, 153, 92)
HSLhsl(139, 41%, 43%)
HSVhsv(139, 58%, 60%)
CMYKcmyk(58.2%, 0%, 39.9%, 40%)
CIE-LABlab(56.73, -40.68, 24.29)
CIE-LCHlch(56.73, 47.38, 149.16°)
OKLaboklab(61.3% -0.1102 0.0604)
OKLCHoklch(61.3% 0.126 151.3)
XYZxyz(15.4362, 24.6437, 14.0664)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40995C #99407D
analogous
#519940 #40995C #409988
triadic
#40995C #5C4099 #995C40
tetradic
#40995C #405199 #99407D #998840
square
#40995C #405199 #99407D #998840
split-complementary
#40995C #884099 #994051
monochromatic
#1C4328 #2E6E42 #40995C #5CBB79 #87CD9D

Accessibility & contrast

On white

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

On black

5.93
#40995C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40995C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40995C#FFFFFF#000000##000000
##40995C1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8D58
Deuteranopia (green-blind)
#8E8560
Tritanopia (blue-blind)
#28978A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40995c;
/* rgb */ color: rgb(64, 153, 92);
/* oklch */ color: oklch(61.3% 0.126 151.3);
Tailwind
colors: {
  custom: {
    50: '#7db88b',
    500: '#40995c',
    950: '#000000',
  },
}
SCSS
$custom: #40995c;
$custom-light: #7db88b;
$custom-dark: #000000;
JSON
{
  "hex": "#40995c",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 138.876,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61298,
    "c": 0.12567,
    "h": 151.3
  },
  "luminance": 0.24645
}

Semantic roles & 50–950 ramp

primary
#40995C
secondary
#B77EA5
accent
#57ABD1
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40995C

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

Preview Lab → · Contrast checker → · Palette generator →

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