#4E7E52#4E7E52

#4E7E52 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.6% C 0.086 H 146.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E7E52
RGBrgb(78, 126, 82)
HSLhsl(125, 24%, 40%)
HSVhsv(125, 38%, 49%)
CMYKcmyk(38.1%, 0%, 34.9%, 50.6%)
CIE-LABlab(48.45, -26.09, 18.96)
CIE-LCHlch(48.45, 32.26, 144.00°)
OKLaboklab(54.65% -0.0711 0.0476)
OKLCHoklch(54.65% 0.086 146.2)
XYZxyz(12.1251, 17.1500, 10.6524)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E52 #7E4E7A
analogous
#627E4E #4E7E52 #4E7E6A
triadic
#4E7E52 #524E7E #7E524E
tetradic
#4E7E52 #4E627E #7E4E7A #7E6A4E
square
#4E7E52 #4E627E #7E4E7A #7E6A4E
split-complementary
#4E7E52 #6A4E7E #7E4E62
monochromatic
#1F3221 #375839 #4E7E52 #68A16D #8EB991

Accessibility & contrast

On white

4.74
#4E7E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4E7E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E52
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E52#FFFFFF#000000##FFFFFF
##4E7E521.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F764F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#487C73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e7e52;
/* rgb */ color: rgb(78, 126, 82);
/* oklch */ color: oklch(54.6% 0.086 146.2);
Tailwind
colors: {
  custom: {
    50: '#82a383',
    500: '#4e7e52',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e52;
$custom-light: #82a383;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e52",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 125,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.08557,
    "h": 146.2
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#4E7E52
secondary
#A682A3
accent
#68B9C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #4E7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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