#40754E#40754E

#40754E is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.4% C 0.084 H 151.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#40754E
RGBrgb(64, 117, 78)
HSLhsl(136, 29%, 35%)
HSVhsv(136, 45%, 46%)
CMYKcmyk(45.3%, 0%, 33.3%, 54.1%)
CIE-LABlab(44.75, -26.99, 16.16)
CIE-LCHlch(44.75, 31.45, 149.09°)
OKLaboklab(51.43% -0.0736 0.0408)
OKLCHoklch(51.43% 0.084 151)
XYZxyz(9.8502, 14.3620, 9.4593)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40754E #754067
analogous
#4C7540 #40754E #407568
triadic
#40754E #4E4075 #754E40
tetradic
#40754E #404C75 #754067 #756840
square
#40754E #404C75 #754067 #756840
split-complementary
#40754E #684075 #75404C
monochromatic
#152619 #2A4D34 #40754E #569D68 #79B689

Accessibility & contrast

On white

5.42
#40754E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#40754E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40754E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40754E#FFFFFF#000000##FFFFFF
##40754E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756D4C
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#36736B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #40754e;
/* rgb */ color: rgb(64, 117, 78);
/* oklch */ color: oklch(51.4% 0.084 151.0);
Tailwind
colors: {
  custom: {
    50: '#789d7f',
    500: '#40754e',
    950: '#000000',
  },
}
SCSS
$custom: #40754e;
$custom-light: #789d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40754e",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 78
  },
  "hsl": {
    "h": 135.849,
    "s": 29.282,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.08413,
    "h": 151
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#40754E
secondary
#A17094
accent
#62ABC6
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #40754E

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

Preview Lab → · Contrast checker → · Palette generator →

#40754E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva