#40935C#40935C

#40935C is a mid, moderate green. Relative luminance 0.227; OKLCH L 59.7% C 0.117 H 152.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#40935C
RGBrgb(64, 147, 92)
HSLhsl(140, 39%, 41%)
HSVhsv(140, 56%, 58%)
CMYKcmyk(56.5%, 0%, 37.4%, 42.4%)
CIE-LABlab(54.79, -38.10, 21.72)
CIE-LCHlch(54.79, 43.86, 150.31°)
OKLaboklab(59.71% -0.1034 0.0544)
OKLCHoklch(59.71% 0.117 152.3)
XYZxyz(14.4788, 22.7288, 13.7472)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40935C #934077
analogous
#4E9340 #40935C #409386
triadic
#40935C #5C4093 #935C40
tetradic
#40935C #404E93 #934077 #938640
square
#40935C #404E93 #934077 #938640
split-complementary
#40935C #864093 #93404E
monochromatic
#1B3E27 #2D6841 #40935C #59B779 #84C99B

Accessibility & contrast

On white

3.79
#40935C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#40935C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40935C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40935C#FFFFFF#000000##000000
##40935C1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938858
Deuteranopia (green-blind)
#88805F
Tritanopia (blue-blind)
#2A9185
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40935c;
/* rgb */ color: rgb(64, 147, 92);
/* oklch */ color: oklch(59.7% 0.117 152.3);
Tailwind
colors: {
  custom: {
    50: '#7cb38a',
    500: '#40935c',
    950: '#000000',
  },
}
SCSS
$custom: #40935c;
$custom-light: #7cb38a;
$custom-dark: #000000;
JSON
{
  "hex": "#40935c",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 92
  },
  "hsl": {
    "h": 140.241,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.11681,
    "h": 152.3
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#40935C
secondary
#B47BA1
accent
#59A7CF
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40935C

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

Preview Lab → · Contrast checker → · Palette generator →

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