#40985D#40985D

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

Color values

HEX#40985D
RGBrgb(64, 152, 93)
HSLhsl(140, 41%, 42%)
HSVhsv(140, 58%, 60%)
CMYKcmyk(57.9%, 0%, 38.8%, 40.4%)
CIE-LABlab(56.42, -40.07, 23.34)
CIE-LCHlch(56.42, 46.37, 149.78°)
OKLaboklab(61.05% -0.1086 0.0582)
OKLCHoklch(61.05% 0.123 151.8)
XYZxyz(15.3172, 24.3354, 14.2438)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40985D #98407B
analogous
#4F9840 #40985D #409889
triadic
#40985D #5D4098 #985D40
tetradic
#40985D #404F98 #98407B #988940
square
#40985D #404F98 #98407B #988940
split-complementary
#40985D #894098 #98404F
monochromatic
#1C4228 #2E6D43 #40985D #5BBA7A #86CC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40985D#FFFFFF#000000##000000
##40985D1.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)
#988C59
Deuteranopia (green-blind)
#8C8461
Tritanopia (blue-blind)
#279689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40985d;
/* rgb */ color: rgb(64, 152, 93);
/* oklch */ color: oklch(61.1% 0.123 151.8);
Tailwind
colors: {
  custom: {
    50: '#7db78b',
    500: '#40985d',
    950: '#000000',
  },
}
SCSS
$custom: #40985d;
$custom-light: #7db78b;
$custom-dark: #000000;
JSON
{
  "hex": "#40985d",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 139.773,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.12322,
    "h": 151.8
  },
  "luminance": 0.24337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40985D

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

Preview Lab → · Contrast checker → · Palette generator →

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