#40985A#40985A

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

Color values

HEX#40985A
RGBrgb(64, 152, 90)
HSLhsl(138, 41%, 42%)
HSVhsv(138, 58%, 60%)
CMYKcmyk(57.9%, 0%, 40.8%, 40.4%)
CIE-LABlab(56.37, -40.62, 24.91)
CIE-LCHlch(56.37, 47.65, 148.49°)
OKLaboklab(60.99% -0.11 0.0618)
OKLCHoklch(60.99% 0.126 150.7)
XYZxyz(15.1870, 24.2833, 13.5577)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40985A #98407E
analogous
#529840 #40985A #409886
triadic
#40985A #5A4098 #985A40
tetradic
#40985A #405298 #98407E #988640
square
#40985A #405298 #98407E #988640
split-complementary
#40985A #864098 #984052
monochromatic
#1C4227 #2E6D40 #40985A #5BBA77 #86CC9B

Accessibility & contrast

On white

3.59
#40985A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40985A#FFFFFF#000000##000000
##40985A1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C56
Deuteranopia (green-blind)
#8D845E
Tritanopia (blue-blind)
#299689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40985a;
/* rgb */ color: rgb(64, 152, 90);
/* oklch */ color: oklch(61.0% 0.126 150.7);
Tailwind
colors: {
  custom: {
    50: '#7db789',
    500: '#40985a',
    950: '#000000',
  },
}
SCSS
$custom: #40985a;
$custom-light: #7db789;
$custom-dark: #000000;
JSON
{
  "hex": "#40985a",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 137.727,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.1262,
    "h": 150.7
  },
  "luminance": 0.24285
}

Semantic roles & 50–950 ramp

primary
#40985A
secondary
#B77DA6
accent
#57ADD1
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40985A

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

Preview Lab → · Contrast checker → · Palette generator →

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