#4E9838#4E9838

#4E9838 is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.1% C 0.151 H 139.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4E9838
RGBrgb(78, 152, 56)
HSLhsl(106, 46%, 41%)
HSVhsv(106, 63%, 60%)
CMYKcmyk(48.7%, 0%, 63.2%, 40.4%)
CIE-LABlab(56.45, -41.57, 42.39)
CIE-LCHlch(56.45, 59.37, 134.44°)
OKLaboklab(61.06% -0.1142 0.0987)
OKLCHoklch(61.06% 0.151 139.2)
XYZxyz(15.0834, 24.3607, 7.6479)
Luminance0.2436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9838 #823898
analogous
#7E9838 #4E9838 #389852
triadic
#4E9838 #384E98 #98384E
tetradic
#4E9838 #387E98 #823898 #985238
square
#4E9838 #387E98 #823898 #985238
split-complementary
#4E9838 #523898 #98387E
monochromatic
#203F17 #376B28 #4E9838 #68BE4F #8FCF7C

Accessibility & contrast

On white

3.58
#4E9838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4E9838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9838
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9838#FFFFFF#000000##000000
##4E98381.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2D
Deuteranopia (green-blind)
#928540
Tritanopia (blue-blind)
#489384
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e9838;
/* rgb */ color: rgb(78, 152, 56);
/* oklch */ color: oklch(61.1% 0.151 139.2);
Tailwind
colors: {
  custom: {
    50: '#86b772',
    500: '#4e9838',
    950: '#000000',
  },
}
SCSS
$custom: #4e9838;
$custom-light: #86b772;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9838",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 106.25,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.15094,
    "h": 139.2
  },
  "luminance": 0.24362
}

Semantic roles & 50–950 ramp

primary
#4E9838
secondary
#A874B8
accent
#52D6B8
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #4E9838

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

Preview Lab → · Contrast checker → · Palette generator →

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