#40955C#40955C

#40955C is a mid, moderate green. Relative luminance 0.234; OKLCH L 60.2% C 0.120 H 151.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#40955C
RGBrgb(64, 149, 92)
HSLhsl(140, 40%, 42%)
HSVhsv(140, 57%, 58%)
CMYKcmyk(57%, 0%, 38.3%, 41.6%)
CIE-LABlab(55.44, -38.97, 22.58)
CIE-LCHlch(55.44, 45.04, 149.91°)
OKLaboklab(60.24% -0.1057 0.0564)
OKLCHoklch(60.24% 0.12 151.9)
XYZxyz(14.7925, 23.3563, 13.8518)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40955C #954079
analogous
#4F9540 #40955C #409587
triadic
#40955C #5C4095 #955C40
tetradic
#40955C #404F95 #954079 #958740
square
#40955C #404F95 #954079 #958740
split-complementary
#40955C #874095 #95404F
monochromatic
#1B3F27 #2E6A42 #40955C #5AB879 #85CB9C

Accessibility & contrast

On white

3.70
#40955C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#40955C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40955C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40955C#FFFFFF#000000##000000
##40955C1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958A58
Deuteranopia (green-blind)
#8A8260
Tritanopia (blue-blind)
#299387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40955c;
/* rgb */ color: rgb(64, 149, 92);
/* oklch */ color: oklch(60.2% 0.120 151.9);
Tailwind
colors: {
  custom: {
    50: '#7cb58a',
    500: '#40955c',
    950: '#000000',
  },
}
SCSS
$custom: #40955c;
$custom-light: #7cb58a;
$custom-dark: #000000;
JSON
{
  "hex": "#40955c",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 92
  },
  "hsl": {
    "h": 139.765,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.11978,
    "h": 151.9
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#40955C
secondary
#B57CA2
accent
#58A8D0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40955C

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

Preview Lab → · Contrast checker → · Palette generator →

#40955C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva