#40975C#40975C

#40975C is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.8% C 0.123 H 151.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#40975C
RGBrgb(64, 151, 92)
HSLhsl(139, 40%, 42%)
HSVhsv(139, 58%, 59%)
CMYKcmyk(57.6%, 0%, 39.1%, 40.8%)
CIE-LABlab(56.08, -39.83, 23.44)
CIE-LCHlch(56.08, 46.21, 149.53°)
OKLaboklab(60.77% -0.1079 0.0584)
OKLCHoklch(60.77% 0.123 151.6)
XYZxyz(15.1116, 23.9945, 13.9582)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40975C #97407B
analogous
#509740 #40975C #409787
triadic
#40975C #5C4097 #975C40
tetradic
#40975C #405097 #97407B #978740
square
#40975C #405097 #97407B #978740
split-complementary
#40975C #874097 #974050
monochromatic
#1C4128 #2E6C42 #40975C #5BB979 #86CC9C

Accessibility & contrast

On white

3.62
#40975C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#40975C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40975C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40975C#FFFFFF#000000##000000
##40975C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B58
Deuteranopia (green-blind)
#8C8360
Tritanopia (blue-blind)
#289588
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40975c;
/* rgb */ color: rgb(64, 151, 92);
/* oklch */ color: oklch(60.8% 0.123 151.6);
Tailwind
colors: {
  custom: {
    50: '#7db68a',
    500: '#40975c',
    950: '#000000',
  },
}
SCSS
$custom: #40975c;
$custom-light: #7db68a;
$custom-dark: #000000;
JSON
{
  "hex": "#40975c",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 139.31,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.12274,
    "h": 151.6
  },
  "luminance": 0.23996
}

Semantic roles & 50–950 ramp

primary
#40975C
secondary
#B67DA4
accent
#57A9D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40975C

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

Preview Lab → · Contrast checker → · Palette generator →

#40975C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva