#40976B#40976B

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

Color values

HEX#40976B
RGBrgb(64, 151, 107)
HSLhsl(150, 40%, 42%)
HSVhsv(150, 58%, 59%)
CMYKcmyk(57.6%, 0%, 29.1%, 40.8%)
CIE-LABlab(56.37, -36.83, 15.50)
CIE-LCHlch(56.37, 39.95, 157.17°)
OKLaboklab(61.1% -0.1008 0.0394)
OKLCHoklch(61.1% 0.108 158.6)
XYZxyz(15.8334, 24.2833, 17.7598)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40976B #97406C
analogous
#419740 #40976B #409797
triadic
#40976B #6B4097 #976B40
tetradic
#40976B #404197 #97406C #979740
square
#40976B #404197 #97406C #979740
split-complementary
#40976B #974097 #974041
monochromatic
#1C412E #2E6C4D #40976B #5BB98A #86CCA8

Accessibility & contrast

On white

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

On black

5.86
#40976B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40976B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40976B#FFFFFF#000000##000000
##40976B1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968C68
Deuteranopia (green-blind)
#89846E
Tritanopia (blue-blind)
#20968B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40976b;
/* rgb */ color: rgb(64, 151, 107);
/* oklch */ color: oklch(61.1% 0.108 158.6);
Tailwind
colors: {
  custom: {
    50: '#7db695',
    500: '#40976b',
    950: '#000000',
  },
}
SCSS
$custom: #40976b;
$custom-light: #7db695;
$custom-dark: #000000;
JSON
{
  "hex": "#40976b",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 107
  },
  "hsl": {
    "h": 149.655,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.611,
    "c": 0.10818,
    "h": 158.6
  },
  "luminance": 0.24285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40976B

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

Preview Lab → · Contrast checker → · Palette generator →

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