#40985E#40985E

#40985E is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.1% C 0.122 H 152.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#40985E
RGBrgb(64, 152, 94)
HSLhsl(140, 41%, 42%)
HSVhsv(140, 58%, 60%)
CMYKcmyk(57.9%, 0%, 38.2%, 40.4%)
CIE-LABlab(56.44, -39.88, 22.81)
CIE-LCHlch(56.44, 45.95, 150.23°)
OKLaboklab(61.07% -0.1081 0.057)
OKLCHoklch(61.07% 0.122 152.2)
XYZxyz(15.3618, 24.3532, 14.4786)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40985E #98407A
analogous
#4E9840 #40985E #40988A
triadic
#40985E #5E4098 #985E40
tetradic
#40985E #404E98 #98407A #988A40
square
#40985E #404E98 #98407A #988A40
split-complementary
#40985E #8A4098 #98404E
monochromatic
#1C4229 #2E6D43 #40985E #5BBA7C #86CC9E

Accessibility & contrast

On white

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

On black

5.87
#40985E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40985E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40985E#FFFFFF#000000##000000
##40985E1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C5A
Deuteranopia (green-blind)
#8C8462
Tritanopia (blue-blind)
#279689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40985e;
/* rgb */ color: rgb(64, 152, 94);
/* oklch */ color: oklch(61.1% 0.122 152.2);
Tailwind
colors: {
  custom: {
    50: '#7db78c',
    500: '#40985e',
    950: '#000000',
  },
}
SCSS
$custom: #40985e;
$custom-light: #7db78c;
$custom-dark: #000000;
JSON
{
  "hex": "#40985e",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 140.455,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61074,
    "c": 0.12223,
    "h": 152.2
  },
  "luminance": 0.24355
}

Semantic roles & 50–950 ramp

primary
#40985E
secondary
#B77DA3
accent
#57A7D1
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40985E

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

Preview Lab → · Contrast checker → · Palette generator →

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