#40915F#40915F

#40915F is a mid, moderate green. Relative luminance 0.222; OKLCH L 59.2% C 0.111 H 154.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#40915F
RGBrgb(64, 145, 95)
HSLhsl(143, 39%, 41%)
HSVhsv(143, 56%, 57%)
CMYKcmyk(55.9%, 0%, 34.5%, 43.1%)
CIE-LABlab(54.20, -36.64, 19.26)
CIE-LCHlch(54.20, 41.39, 152.27°)
OKLaboklab(59.25% -0.0996 0.0485)
OKLCHoklch(59.25% 0.111 154.1)
XYZxyz(14.3042, 22.1657, 14.3489)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40915F #914072
analogous
#499140 #40915F #409187
triadic
#40915F #5F4091 #915F40
tetradic
#40915F #404991 #914072 #918740
square
#40915F #404991 #914072 #918740
split-complementary
#40915F #874091 #914049
monochromatic
#1B3C27 #2D6743 #40915F #59B67C #83C89E

Accessibility & contrast

On white

3.86
#40915F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#40915F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40915F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40915F#FFFFFF#000000##000000
##40915F1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91865C
Deuteranopia (green-blind)
#857E62
Tritanopia (blue-blind)
#298F84
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40915f;
/* rgb */ color: rgb(64, 145, 95);
/* oklch */ color: oklch(59.2% 0.111 154.1);
Tailwind
colors: {
  custom: {
    50: '#7cb28c',
    500: '#40915f',
    950: '#000000',
  },
}
SCSS
$custom: #40915f;
$custom-light: #7cb28c;
$custom-dark: #000000;
JSON
{
  "hex": "#40915f",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 95
  },
  "hsl": {
    "h": 142.963,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.11081,
    "h": 154.1
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#40915F
secondary
#B37A9D
accent
#59A2CF
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40915F

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

Preview Lab → · Contrast checker → · Palette generator →

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