#40975F#40975F

#40975F is a mid, moderate green. Relative luminance 0.240; OKLCH L 60.8% C 0.120 H 152.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#40975F
RGBrgb(64, 151, 95)
HSLhsl(141, 40%, 42%)
HSVhsv(141, 58%, 59%)
CMYKcmyk(57.6%, 0%, 37.1%, 40.8%)
CIE-LABlab(56.14, -39.26, 21.86)
CIE-LCHlch(56.14, 44.94, 150.89°)
OKLaboklab(60.83% -0.1065 0.0547)
OKLCHoklch(60.83% 0.12 152.8)
XYZxyz(15.2454, 24.0480, 14.6626)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40975F #974078
analogous
#4D9740 #40975F #40978A
triadic
#40975F #5F4097 #975F40
tetradic
#40975F #404D97 #974078 #978A40
square
#40975F #404D97 #974078 #978A40
split-complementary
#40975F #8A4097 #97404D
monochromatic
#1C4129 #2E6C44 #40975F #5BB97D #86CC9F

Accessibility & contrast

On white

3.61
#40975F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#40975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40975F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40975F#FFFFFF#000000##000000
##40975F1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978C5B
Deuteranopia (green-blind)
#8B8363
Tritanopia (blue-blind)
#279589
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40975f;
/* rgb */ color: rgb(64, 151, 95);
/* oklch */ color: oklch(60.8% 0.120 152.8);
Tailwind
colors: {
  custom: {
    50: '#7db68d',
    500: '#40975f',
    950: '#000000',
  },
}
SCSS
$custom: #40975f;
$custom-light: #7db68d;
$custom-dark: #000000;
JSON
{
  "hex": "#40975f",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 141.379,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.11976,
    "h": 152.8
  },
  "luminance": 0.24049
}

Semantic roles & 50–950 ramp

primary
#40975F
secondary
#B67DA2
accent
#57A5D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40975F

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

Preview Lab → · Contrast checker → · Palette generator →

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