#40985C#40985C

#40985C is a mid, vivid green. Relative luminance 0.243; OKLCH L 61.0% C 0.124 H 151.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#40985C
RGBrgb(64, 152, 92)
HSLhsl(139, 41%, 42%)
HSVhsv(139, 58%, 60%)
CMYKcmyk(57.9%, 0%, 39.5%, 40.4%)
CIE-LABlab(56.40, -40.26, 23.86)
CIE-LCHlch(56.40, 46.80, 149.34°)
OKLaboklab(61.03% -0.1091 0.0594)
OKLCHoklch(61.03% 0.124 151.4)
XYZxyz(15.2732, 24.3178, 14.0121)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40985C #98407C
analogous
#509840 #40985C #409888
triadic
#40985C #5C4098 #985C40
tetradic
#40985C #405098 #98407C #988840
square
#40985C #405098 #98407C #988840
split-complementary
#40985C #884098 #984050
monochromatic
#1C4228 #2E6D42 #40985C #5BBA79 #86CC9C

Accessibility & contrast

On white

3.58
#40985C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#40985C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40985C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40985C#FFFFFF#000000##000000
##40985C1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C58
Deuteranopia (green-blind)
#8D8460
Tritanopia (blue-blind)
#289689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40985c;
/* rgb */ color: rgb(64, 152, 92);
/* oklch */ color: oklch(61.0% 0.124 151.4);
Tailwind
colors: {
  custom: {
    50: '#7db78a',
    500: '#40985c',
    950: '#000000',
  },
}
SCSS
$custom: #40985c;
$custom-light: #7db78a;
$custom-dark: #000000;
JSON
{
  "hex": "#40985c",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 139.091,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.12421,
    "h": 151.4
  },
  "luminance": 0.24319
}

Semantic roles & 50–950 ramp

primary
#40985C
secondary
#B77DA4
accent
#57AAD1
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40985C

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

Preview Lab → · Contrast checker → · Palette generator →

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