#4E7937#4E7937

#4E7937 is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.107 H 135.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E7937
RGBrgb(78, 121, 55)
HSLhsl(99, 38%, 35%)
HSVhsv(99, 55%, 47%)
CMYKcmyk(35.5%, 0%, 54.5%, 52.5%)
CIE-LABlab(46.40, -27.80, 31.25)
CIE-LCHlch(46.40, 41.82, 131.65°)
OKLaboklab(52.85% -0.0767 0.0745)
OKLCHoklch(52.85% 0.107 135.8)
XYZxyz(10.6686, 15.5698, 6.0568)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7937 #623779
analogous
#6F7937 #4E7937 #377941
triadic
#4E7937 #374E79 #79374E
tetradic
#4E7937 #376F79 #623779 #794137
square
#4E7937 #376F79 #623779 #794137
split-complementary
#4E7937 #413779 #79376F
monochromatic
#182511 #334F24 #4E7937 #69A34A #89BD6E

Accessibility & contrast

On white

5.10
#4E7937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4E7937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7937
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7937#FFFFFF#000000##FFFFFF
##4E79371.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7031
Deuteranopia (green-blind)
#776D3B
Tritanopia (blue-blind)
#4D756A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7937;
/* rgb */ color: rgb(78, 121, 55);
/* oklch */ color: oklch(52.8% 0.107 135.8);
Tailwind
colors: {
  custom: {
    50: '#82a070',
    500: '#4e7937',
    950: '#000000',
  },
}
SCSS
$custom: #4e7937;
$custom-light: #82a070;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7937",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 99.091,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.10691,
    "h": 135.8
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#4E7937
secondary
#9066A6
accent
#5ACDA5
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7937

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

Preview Lab → · Contrast checker → · Palette generator →

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