#40773E#40773E

#40773E is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.6% C 0.105 H 143.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#40773E
RGBrgb(64, 119, 62)
HSLhsl(118, 31%, 35%)
HSVhsv(118, 48%, 47%)
CMYKcmyk(46.2%, 0%, 47.9%, 53.3%)
CIE-LABlab(45.12, -30.77, 25.74)
CIE-LCHlch(45.12, 40.12, 140.09°)
OKLaboklab(51.64% -0.0838 0.0628)
OKLCHoklch(51.64% 0.105 143.2)
XYZxyz(9.5802, 14.6308, 6.8757)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40773E #753E77
analogous
#5C773E #40773E #3E7758
triadic
#40773E #3E4077 #773E40
tetradic
#40773E #3E5C77 #753E77 #77583E
square
#40773E #3E5C77 #753E77 #77583E
split-complementary
#40773E #583E77 #773E5C
monochromatic
#152714 #2A4F29 #40773E #569F53 #79B877

Accessibility & contrast

On white

5.35
#40773E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#40773E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40773E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40773E#FFFFFF#000000##FFFFFF
##40773E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E39
Deuteranopia (green-blind)
#716942
Tritanopia (blue-blind)
#397469
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #40773e;
/* rgb */ color: rgb(64, 119, 62);
/* oklch */ color: oklch(51.6% 0.105 143.2);
Tailwind
colors: {
  custom: {
    50: '#799f74',
    500: '#40773e',
    950: '#000000',
  },
}
SCSS
$custom: #40773e;
$custom-light: #799f74;
$custom-dark: #000000;
JSON
{
  "hex": "#40773e",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 62
  },
  "hsl": {
    "h": 117.895,
    "s": 31.492,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.10471,
    "h": 143.2
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#40773E
secondary
#A16EA3
accent
#60C8C4
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #40773E

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

Preview Lab → · Contrast checker → · Palette generator →

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