#40975E#40975E

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

Color values

HEX#40975E
RGBrgb(64, 151, 94)
HSLhsl(141, 40%, 42%)
HSVhsv(141, 58%, 59%)
CMYKcmyk(57.6%, 0%, 37.7%, 40.8%)
CIE-LABlab(56.12, -39.45, 22.39)
CIE-LCHlch(56.12, 45.36, 150.43°)
OKLaboklab(60.81% -0.107 0.056)
OKLCHoklch(60.81% 0.121 152.4)
XYZxyz(15.2002, 24.0300, 14.4247)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40975E #974079
analogous
#4D9740 #40975E #40978A
triadic
#40975E #5E4097 #975E40
tetradic
#40975E #404D97 #974079 #978A40
square
#40975E #404D97 #974079 #978A40
split-complementary
#40975E #8A4097 #97404D
monochromatic
#1C4128 #2E6C43 #40975E #5BB97B #86CC9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40975E#FFFFFF#000000##000000
##40975E1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978C5A
Deuteranopia (green-blind)
#8B8362
Tritanopia (blue-blind)
#279589
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40975e;
/* rgb */ color: rgb(64, 151, 94);
/* oklch */ color: oklch(60.8% 0.121 152.4);
Tailwind
colors: {
  custom: {
    50: '#7db68c',
    500: '#40975e',
    950: '#000000',
  },
}
SCSS
$custom: #40975e;
$custom-light: #7db68c;
$custom-dark: #000000;
JSON
{
  "hex": "#40975e",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 94
  },
  "hsl": {
    "h": 140.69,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.12075,
    "h": 152.4
  },
  "luminance": 0.24031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40975E

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

Preview Lab → · Contrast checker → · Palette generator →

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