#4F8937#4F8937

#4F8937 is a mid, vivid green. Relative luminance 0.198; OKLCH L 57.1% C 0.130 H 137.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F8937
RGBrgb(79, 137, 55)
HSLhsl(102, 43%, 38%)
HSVhsv(102, 60%, 54%)
CMYKcmyk(42.3%, 0%, 59.9%, 46.3%)
CIE-LABlab(51.64, -34.88, 37.42)
CIE-LCHlch(51.64, 51.16, 132.99°)
OKLaboklab(57.13% -0.0961 0.0879)
OKLCHoklch(57.13% 0.13 137.6)
XYZxyz(12.8593, 19.8287, 6.7634)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8937 #713789
analogous
#788937 #4F8937 #378948
triadic
#4F8937 #374F89 #89374F
tetradic
#4F8937 #377889 #713789 #894837
square
#4F8937 #377889 #713789 #894837
split-complementary
#4F8937 #483789 #893778
monochromatic
#1D3214 #365D25 #4F8937 #68B549 #8CC773

Accessibility & contrast

On white

4.23
#4F8937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4F8937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8937
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8937#FFFFFF#000000##000000
##4F89371.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#4C8477
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8937;
/* rgb */ color: rgb(79, 137, 55);
/* oklch */ color: oklch(57.1% 0.130 137.6);
Tailwind
colors: {
  custom: {
    50: '#84ac71',
    500: '#4f8937',
    950: '#000000',
  },
}
SCSS
$custom: #4f8937;
$custom-light: #84ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8937",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 55
  },
  "hsl": {
    "h": 102.439,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.13027,
    "h": 137.6
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#4F8937
secondary
#9C6CB0
accent
#55D2AE
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #4F8937

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

Preview Lab → · Contrast checker → · Palette generator →

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