#40995F#40995F

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

Color values

HEX#40995F
RGBrgb(64, 153, 95)
HSLhsl(141, 41%, 43%)
HSVhsv(141, 58%, 60%)
CMYKcmyk(58.2%, 0%, 37.9%, 40%)
CIE-LABlab(56.78, -40.12, 22.72)
CIE-LCHlch(56.78, 46.11, 150.48°)
OKLaboklab(61.36% -0.1088 0.0568)
OKLCHoklch(61.36% 0.123 152.4)
XYZxyz(15.5700, 24.6972, 14.7708)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40995F #99407A
analogous
#4D9940 #40995F #40998C
triadic
#40995F #5F4099 #995F40
tetradic
#40995F #404D99 #99407A #998C40
square
#40995F #404D99 #99407A #998C40
split-complementary
#40995F #8C4099 #99404D
monochromatic
#1C4329 #2E6E44 #40995F #5CBB7D #87CD9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40995F#FFFFFF#000000##000000
##40995F1.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)
#998D5B
Deuteranopia (green-blind)
#8D8563
Tritanopia (blue-blind)
#26978A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40995f;
/* rgb */ color: rgb(64, 153, 95);
/* oklch */ color: oklch(61.4% 0.123 152.4);
Tailwind
colors: {
  custom: {
    50: '#7db88d',
    500: '#40995f',
    950: '#000000',
  },
}
SCSS
$custom: #40995f;
$custom-light: #7db88d;
$custom-dark: #000000;
JSON
{
  "hex": "#40995f",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 95
  },
  "hsl": {
    "h": 140.899,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.12271,
    "h": 152.4
  },
  "luminance": 0.24699
}

Semantic roles & 50–950 ramp

primary
#40995F
secondary
#B77EA3
accent
#57A6D1
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40995F

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

Preview Lab → · Contrast checker → · Palette generator →

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