#40975D#40975D

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

Color values

HEX#40975D
RGBrgb(64, 151, 93)
HSLhsl(140, 40%, 42%)
HSVhsv(140, 58%, 59%)
CMYKcmyk(57.6%, 0%, 38.4%, 40.8%)
CIE-LABlab(56.10, -39.64, 22.91)
CIE-LCHlch(56.10, 45.79, 149.98°)
OKLaboklab(60.79% -0.1075 0.0572)
OKLCHoklch(60.79% 0.122 152)
XYZxyz(15.1556, 24.0121, 14.1899)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40975D #97407A
analogous
#4F9740 #40975D #409789
triadic
#40975D #5D4097 #975D40
tetradic
#40975D #404F97 #97407A #978940
square
#40975D #404F97 #97407A #978940
split-complementary
#40975D #894097 #97404F
monochromatic
#1C4128 #2E6C43 #40975D #5BB97A #86CC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40975D#FFFFFF#000000##000000
##40975D1.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)
#978B59
Deuteranopia (green-blind)
#8C8361
Tritanopia (blue-blind)
#289588
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40975d;
/* rgb */ color: rgb(64, 151, 93);
/* oklch */ color: oklch(60.8% 0.122 152.0);
Tailwind
colors: {
  custom: {
    50: '#7db68b',
    500: '#40975d',
    950: '#000000',
  },
}
SCSS
$custom: #40975d;
$custom-light: #7db68b;
$custom-dark: #000000;
JSON
{
  "hex": "#40975d",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 93
  },
  "hsl": {
    "h": 140,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60789,
    "c": 0.12174,
    "h": 152
  },
  "luminance": 0.24014
}

Semantic roles & 50–950 ramp

primary
#40975D
secondary
#B67DA3
accent
#57A8D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40975D

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

Preview Lab → · Contrast checker → · Palette generator →

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