#40754D#40754D

#40754D is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.4% C 0.085 H 150.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#40754D
RGBrgb(64, 117, 77)
HSLhsl(135, 29%, 35%)
HSVhsv(135, 45%, 46%)
CMYKcmyk(45.3%, 0%, 34.2%, 54.1%)
CIE-LABlab(44.73, -27.18, 16.71)
CIE-LCHlch(44.73, 31.91, 148.41°)
OKLaboklab(51.4% -0.0741 0.0421)
OKLCHoklch(51.4% 0.085 150.4)
XYZxyz(9.8146, 14.3477, 9.2720)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40754D #754068
analogous
#4D7540 #40754D #407567
triadic
#40754D #4D4075 #754D40
tetradic
#40754D #404D75 #754068 #756740
square
#40754D #404D75 #754068 #756740
split-complementary
#40754D #674075 #75404D
monochromatic
#152619 #2A4D33 #40754D #569D67 #79B688

Accessibility & contrast

On white

5.43
#40754D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40754D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40754D#FFFFFF#000000##FFFFFF
##40754D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D4A
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#36736B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #40754d;
/* rgb */ color: rgb(64, 117, 77);
/* oklch */ color: oklch(51.4% 0.085 150.4);
Tailwind
colors: {
  custom: {
    50: '#789d7f',
    500: '#40754d',
    950: '#000000',
  },
}
SCSS
$custom: #40754d;
$custom-light: #789d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40754d",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 77
  },
  "hsl": {
    "h": 134.717,
    "s": 29.282,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.08521,
    "h": 150.4
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#40754D
secondary
#A17095
accent
#62ADC6
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #40754D

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

Preview Lab → · Contrast checker → · Palette generator →

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