#4E7F52#4E7F52

#4E7F52 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.9% C 0.087 H 146.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E7F52
RGBrgb(78, 127, 82)
HSLhsl(125, 24%, 40%)
HSVhsv(125, 39%, 50%)
CMYKcmyk(38.6%, 0%, 35.4%, 50.2%)
CIE-LABlab(48.77, -26.59, 19.39)
CIE-LCHlch(48.77, 32.91, 143.90°)
OKLaboklab(54.91% -0.0725 0.0486)
OKLCHoklch(54.91% 0.087 146.2)
XYZxyz(12.2536, 17.4070, 10.6952)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F52 #7F4E7B
analogous
#627F4E #4E7F52 #4E7F6A
triadic
#4E7F52 #524E7F #7F524E
tetradic
#4E7F52 #4E627F #7F4E7B #7F6A4E
square
#4E7F52 #4E627F #7F4E7B #7F6A4E
split-complementary
#4E7F52 #6A4E7F #7F4E62
monochromatic
#1F3321 #37593A #4E7F52 #68A26D #8EBA91

Accessibility & contrast

On white

4.69
#4E7F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E7F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F52
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F52#FFFFFF#000000##FFFFFF
##4E7F521.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#487D73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e7f52;
/* rgb */ color: rgb(78, 127, 82);
/* oklch */ color: oklch(54.9% 0.087 146.2);
Tailwind
colors: {
  custom: {
    50: '#82a483',
    500: '#4e7f52',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f52;
$custom-light: #82a483;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f52",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 124.898,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.08725,
    "h": 146.2
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#4E7F52
secondary
#A683A3
accent
#67B9C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #4E7F52

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

Preview Lab → · Contrast checker → · Palette generator →

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