#4E7852#4E7852

#4E7852 is a mid, moderate green. Relative luminance 0.157; OKLCH L 53.1% C 0.075 H 146.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7852
RGBrgb(78, 120, 82)
HSLhsl(126, 21%, 39%)
HSVhsv(126, 35%, 47%)
CMYKcmyk(35%, 0%, 31.7%, 52.9%)
CIE-LABlab(46.53, -23.07, 16.37)
CIE-LCHlch(46.53, 28.29, 144.64°)
OKLaboklab(53.09% -0.063 0.0413)
OKLCHoklch(53.09% 0.075 146.7)
XYZxyz(11.3808, 15.6613, 10.4043)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7852 #784E74
analogous
#5F784E #4E7852 #4E7867
triadic
#4E7852 #524E78 #78524E
tetradic
#4E7852 #4E5F78 #784E74 #78674E
square
#4E7852 #4E5F78 #784E74 #78674E
split-complementary
#4E7852 #674E78 #784E5F
monochromatic
#1E2E1F #365339 #4E7852 #679C6C #8CB490

Accessibility & contrast

On white

5.08
#4E7852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E7852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7852
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7852#FFFFFF#000000##FFFFFF
##4E78521.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#49766E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7852;
/* rgb */ color: rgb(78, 120, 82);
/* oklch */ color: oklch(53.1% 0.075 146.7);
Tailwind
colors: {
  custom: {
    50: '#819f83',
    500: '#4e7852',
    950: '#000000',
  },
}
SCSS
$custom: #4e7852;
$custom-light: #819f83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7852",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 125.714,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.07533,
    "h": 146.7
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#4E7852
secondary
#A1819E
accent
#6AB6BE
background
#F8F9F8
surface
#EFF2EF
border
#CACCCA
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #4E7852

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

Preview Lab → · Contrast checker → · Palette generator →

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