#4F8752#4F8752

#4F8752 is a mid, moderate green. Relative luminance 0.196; OKLCH L 57.0% C 0.100 H 145.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4F8752
RGBrgb(79, 135, 82)
HSLhsl(123, 26%, 42%)
HSVhsv(123, 41%, 53%)
CMYKcmyk(41.5%, 0%, 39.3%, 47.1%)
CIE-LABlab(51.38, -30.13, 22.86)
CIE-LCHlch(51.38, 37.82, 142.81°)
OKLaboklab(57.04% -0.082 0.0568)
OKLCHoklch(57.04% 0.1 145.3)
XYZxyz(13.4107, 19.5986, 11.0573)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8752 #874F84
analogous
#68874F #4F8752 #4F876E
triadic
#4F8752 #524F87 #87524F
tetradic
#4F8752 #4F6887 #874F84 #876E4F
square
#4F8752 #4F6887 #874F84 #876E4F
split-complementary
#4F8752 #6E4F87 #874F68
monochromatic
#223A23 #38603B #4F8752 #6BA86E #91BF94

Accessibility & contrast

On white

4.27
#4F8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4F8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8752
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8752#FFFFFF#000000##000000
##4F87521.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#817855
Tritanopia (blue-blind)
#48847A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f8752;
/* rgb */ color: rgb(79, 135, 82);
/* oklch */ color: oklch(57.0% 0.100 145.3);
Tailwind
colors: {
  custom: {
    50: '#83aa83',
    500: '#4f8752',
    950: '#000000',
  },
}
SCSS
$custom: #4f8752;
$custom-light: #83aa83;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8752",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 123.214,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.0998,
    "h": 145.3
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#4F8752
secondary
#AC86AA
accent
#65BEC3
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #4F8752

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

Preview Lab → · Contrast checker → · Palette generator →

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