#4E8938#4E8938

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

Color values

HEX#4E8938
RGBrgb(78, 137, 56)
HSLhsl(104, 42%, 38%)
HSVhsv(104, 59%, 54%)
CMYKcmyk(43.1%, 0%, 59.1%, 46.3%)
CIE-LABlab(51.61, -35.11, 36.87)
CIE-LCHlch(51.61, 50.92, 133.60°)
OKLaboklab(57.09% -0.0966 0.0868)
OKLCHoklch(57.09% 0.13 138.1)
XYZxyz(12.8009, 19.7958, 6.8871)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8938 #733889
analogous
#768938 #4E8938 #38894B
triadic
#4E8938 #384E89 #89384E
tetradic
#4E8938 #387689 #733889 #894B38
square
#4E8938 #387689 #733889 #894B38
split-complementary
#4E8938 #4B3889 #893876
monochromatic
#1D3214 #355E26 #4E8938 #67B44A #8BC775

Accessibility & contrast

On white

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

On black

4.96
#4E8938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8938
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8938#FFFFFF#000000##000000
##4E89381.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E30
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#4A8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8938;
/* rgb */ color: rgb(78, 137, 56);
/* oklch */ color: oklch(57.1% 0.130 138.1);
Tailwind
colors: {
  custom: {
    50: '#84ac71',
    500: '#4e8938',
    950: '#000000',
  },
}
SCSS
$custom: #4e8938;
$custom-light: #84ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8938",
  "rgb": {
    "r": 78,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 103.704,
    "s": 41.969,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.12992,
    "h": 138.1
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#4E8938
secondary
#9E6DAF
accent
#56D2B0
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #4E8938

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

Preview Lab → · Contrast checker → · Palette generator →

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