#40935F#40935F

#40935F is a mid, moderate green. Relative luminance 0.228; OKLCH L 59.8% C 0.114 H 153.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#40935F
RGBrgb(64, 147, 95)
HSLhsl(142, 39%, 41%)
HSVhsv(142, 56%, 58%)
CMYKcmyk(56.5%, 0%, 35.4%, 42.4%)
CIE-LABlab(54.85, -37.52, 20.13)
CIE-LCHlch(54.85, 42.58, 151.79°)
OKLaboklab(59.78% -0.102 0.0506)
OKLCHoklch(59.78% 0.114 153.6)
XYZxyz(14.6125, 22.7823, 14.4516)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40935F #934074
analogous
#4B9340 #40935F #409389
triadic
#40935F #5F4093 #935F40
tetradic
#40935F #404B93 #934074 #938940
square
#40935F #404B93 #934074 #938940
split-complementary
#40935F #894093 #93404B
monochromatic
#1B3E28 #2D6843 #40935F #59B77C #84C99E

Accessibility & contrast

On white

3.78
#40935F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#40935F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40935F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40935F#FFFFFF#000000##000000
##40935F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885C
Deuteranopia (green-blind)
#878062
Tritanopia (blue-blind)
#289186
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40935f;
/* rgb */ color: rgb(64, 147, 95);
/* oklch */ color: oklch(59.8% 0.114 153.6);
Tailwind
colors: {
  custom: {
    50: '#7cb38c',
    500: '#40935f',
    950: '#000000',
  },
}
SCSS
$custom: #40935f;
$custom-light: #7cb38c;
$custom-dark: #000000;
JSON
{
  "hex": "#40935f",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 95
  },
  "hsl": {
    "h": 142.41,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.11382,
    "h": 153.6
  },
  "luminance": 0.22784
}

Semantic roles & 50–950 ramp

primary
#40935F
secondary
#B47B9F
accent
#59A3CF
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40935F

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

Preview Lab → · Contrast checker → · Palette generator →

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