#40915D#40915D

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

Color values

HEX#40915D
RGBrgb(64, 145, 93)
HSLhsl(141, 39%, 41%)
HSVhsv(141, 56%, 57%)
CMYKcmyk(55.9%, 0%, 35.9%, 43.1%)
CIE-LABlab(54.16, -37.03, 20.33)
CIE-LCHlch(54.16, 42.24, 151.24°)
OKLaboklab(59.2% -0.1006 0.051)
OKLCHoklch(59.2% 0.113 153.1)
XYZxyz(14.2145, 22.1298, 13.8762)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40915D #914074
analogous
#4B9140 #40915D #409185
triadic
#40915D #5D4091 #915D40
tetradic
#40915D #404B91 #914074 #918540
square
#40915D #404B91 #914074 #918540
split-complementary
#40915D #854091 #91404B
monochromatic
#1B3C27 #2D6742 #40915D #59B67A #83C89C

Accessibility & contrast

On white

3.87
#40915D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40915D#FFFFFF#000000##000000
##40915D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91865A
Deuteranopia (green-blind)
#867E60
Tritanopia (blue-blind)
#2A8F84
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40915d;
/* rgb */ color: rgb(64, 145, 93);
/* oklch */ color: oklch(59.2% 0.113 153.1);
Tailwind
colors: {
  custom: {
    50: '#7cb28b',
    500: '#40915d',
    950: '#000000',
  },
}
SCSS
$custom: #40915d;
$custom-light: #7cb28b;
$custom-dark: #000000;
JSON
{
  "hex": "#40915d",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 93
  },
  "hsl": {
    "h": 141.481,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.11281,
    "h": 153.1
  },
  "luminance": 0.22131
}

Semantic roles & 50–950 ramp

primary
#40915D
secondary
#B37A9E
accent
#59A5CF
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #40915D

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

Preview Lab → · Contrast checker → · Palette generator →

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