#40985B#40985B

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

Color values

HEX#40985B
RGBrgb(64, 152, 91)
HSLhsl(138, 41%, 42%)
HSVhsv(138, 58%, 60%)
CMYKcmyk(57.9%, 0%, 40.1%, 40.4%)
CIE-LABlab(56.39, -40.44, 24.38)
CIE-LCHlch(56.39, 47.22, 148.91°)
OKLaboklab(61.01% -0.1095 0.0606)
OKLCHoklch(61.01% 0.125 151)
XYZxyz(15.2298, 24.3004, 13.7834)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40985B #98407D
analogous
#519840 #40985B #409887
triadic
#40985B #5B4098 #985B40
tetradic
#40985B #405198 #98407D #988740
square
#40985B #405198 #98407D #988740
split-complementary
#40985B #874098 #984051
monochromatic
#1C4227 #2E6D41 #40985B #5BBA78 #86CC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40985B#FFFFFF#000000##000000
##40985B1.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)
#998C57
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#289689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40985b;
/* rgb */ color: rgb(64, 152, 91);
/* oklch */ color: oklch(61.0% 0.125 151.0);
Tailwind
colors: {
  custom: {
    50: '#7db78a',
    500: '#40985b',
    950: '#000000',
  },
}
SCSS
$custom: #40985b;
$custom-light: #7db78a;
$custom-dark: #000000;
JSON
{
  "hex": "#40985b",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 138.409,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.1252,
    "h": 151
  },
  "luminance": 0.24302
}

Semantic roles & 50–950 ramp

primary
#40985B
secondary
#B77DA5
accent
#57ABD1
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40985B

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

Preview Lab → · Contrast checker → · Palette generator →

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