#4C7E4E#4C7E4E

#4C7E4E is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.4% C 0.091 H 145.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4C7E4E
RGBrgb(76, 126, 78)
HSLhsl(122, 25%, 40%)
HSVhsv(122, 40%, 49%)
CMYKcmyk(39.7%, 0%, 38.1%, 50.6%)
CIE-LABlab(48.27, -27.48, 20.98)
CIE-LCHlch(48.27, 34.57, 142.64°)
OKLaboklab(54.45% -0.0749 0.0523)
OKLCHoklch(54.45% 0.091 145.1)
XYZxyz(11.8159, 17.0076, 9.8664)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E4E #7E4C7C
analogous
#637E4C #4C7E4E #4C7E67
triadic
#4C7E4E #4E4C7E #7E4E4C
tetradic
#4C7E4E #4C637E #7E4C7C #7E674C
square
#4C7E4E #4C637E #7E4C7C #7E674C
split-complementary
#4C7E4E #674C7E #7E4C63
monochromatic
#1E321F #355836 #4C7E4E #65A268 #8BB98D

Accessibility & contrast

On white

4.77
#4C7E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4C7E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7E4E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7E4E#FFFFFF#000000##FFFFFF
##4C7E4E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764B
Deuteranopia (green-blind)
#787151
Tritanopia (blue-blind)
#467B72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c7e4e;
/* rgb */ color: rgb(76, 126, 78);
/* oklch */ color: oklch(54.4% 0.091 145.1);
Tailwind
colors: {
  custom: {
    50: '#80a480',
    500: '#4c7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e4e;
$custom-light: #80a480;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e4e",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 122.4,
    "s": 24.752,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.09131,
    "h": 145.1
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#4C7E4E
secondary
#A680A4
accent
#67BEC1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #4C7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#4C7E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva