#40985F#40985F

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

Color values

HEX#40985F
RGBrgb(64, 152, 95)
HSLhsl(141, 41%, 42%)
HSVhsv(141, 58%, 60%)
CMYKcmyk(57.9%, 0%, 37.5%, 40.4%)
CIE-LABlab(56.46, -39.69, 22.29)
CIE-LCHlch(56.46, 45.52, 150.69°)
OKLaboklab(61.09% -0.1076 0.0558)
OKLCHoklch(61.09% 0.121 152.6)
XYZxyz(15.4070, 24.3713, 14.7165)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40985F #984079
analogous
#4D9840 #40985F #40988B
triadic
#40985F #5F4098 #985F40
tetradic
#40985F #404D98 #984079 #988B40
square
#40985F #404D98 #984079 #988B40
split-complementary
#40985F #8B4098 #98404D
monochromatic
#1C4229 #2E6D44 #40985F #5BBA7D #86CC9F

Accessibility & contrast

On white

3.57
#40985F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40985F#FFFFFF#000000##000000
##40985F1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C5B
Deuteranopia (green-blind)
#8C8463
Tritanopia (blue-blind)
#269689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40985f;
/* rgb */ color: rgb(64, 152, 95);
/* oklch */ color: oklch(61.1% 0.121 152.6);
Tailwind
colors: {
  custom: {
    50: '#7db78d',
    500: '#40985f',
    950: '#000000',
  },
}
SCSS
$custom: #40985f;
$custom-light: #7db78d;
$custom-dark: #000000;
JSON
{
  "hex": "#40985f",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 141.136,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61094,
    "c": 0.12123,
    "h": 152.6
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#40985F
secondary
#B77DA2
accent
#57A6D1
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40985F

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

Preview Lab → · Contrast checker → · Palette generator →

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