#40976A#40976A

#40976A is a mid, moderate green. Relative luminance 0.243; OKLCH L 61.1% C 0.109 H 158.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#40976A
RGBrgb(64, 151, 106)
HSLhsl(149, 40%, 42%)
HSVhsv(149, 58%, 59%)
CMYKcmyk(57.6%, 0%, 29.8%, 40.8%)
CIE-LABlab(56.35, -37.04, 16.03)
CIE-LCHlch(56.35, 40.36, 156.59°)
OKLaboklab(61.08% -0.1012 0.0407)
OKLCHoklch(61.08% 0.109 158.1)
XYZxyz(15.7811, 24.2623, 17.4843)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40976A #97406D
analogous
#419740 #40976A #409796
triadic
#40976A #6A4097 #976A40
tetradic
#40976A #404197 #97406D #979640
square
#40976A #404197 #97406D #979640
split-complementary
#40976A #964097 #974041
monochromatic
#1C412E #2E6C4C #40976A #5BB988 #86CCA7

Accessibility & contrast

On white

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

On black

5.85
#40976A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40976A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40976A#FFFFFF#000000##000000
##40976A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968C67
Deuteranopia (green-blind)
#8A846D
Tritanopia (blue-blind)
#21968B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40976a;
/* rgb */ color: rgb(64, 151, 106);
/* oklch */ color: oklch(61.1% 0.109 158.1);
Tailwind
colors: {
  custom: {
    50: '#7db694',
    500: '#40976a',
    950: '#000000',
  },
}
SCSS
$custom: #40976a;
$custom-light: #7db694;
$custom-dark: #000000;
JSON
{
  "hex": "#40976a",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 106
  },
  "hsl": {
    "h": 148.966,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.10912,
    "h": 158.1
  },
  "luminance": 0.24264
}

Semantic roles & 50–950 ramp

primary
#40976A
secondary
#B67D9A
accent
#5796D0
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#0A110D
muted
#7C807E

Preview Lab

Preview with #40976A

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

Preview Lab → · Contrast checker → · Palette generator →

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