#4E7138#4E7138

#4E7138 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.8% C 0.093 H 134.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E7138
RGBrgb(78, 113, 56)
HSLhsl(97, 34%, 33%)
HSVhsv(97, 50%, 44%)
CMYKcmyk(31%, 0%, 50.4%, 55.7%)
CIE-LABlab(43.82, -23.71, 27.57)
CIE-LCHlch(43.82, 36.36, 130.69°)
OKLaboklab(50.75% -0.0653 0.0665)
OKLCHoklch(50.75% 0.093 134.5)
XYZxyz(9.7606, 13.7151, 5.8736)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7138 #5B3871
analogous
#6A7138 #4E7138 #38713E
triadic
#4E7138 #384E71 #71384E
tetradic
#4E7138 #386A71 #5B3871 #713E38
square
#4E7138 #386A71 #5B3871 #713E38
split-complementary
#4E7138 #3E3871 #71386A
monochromatic
#161F0F #324824 #4E7138 #6A9A4C #89B76D

Accessibility & contrast

On white

5.61
#4E7138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E7138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7138
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7138#FFFFFF#000000##FFFFFF
##4E71381.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756933
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#4E6D64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7138;
/* rgb */ color: rgb(78, 113, 56);
/* oklch */ color: oklch(50.8% 0.093 134.5);
Tailwind
colors: {
  custom: {
    50: '#819a70',
    500: '#4e7138',
    950: '#000000',
  },
}
SCSS
$custom: #4e7138;
$custom-light: #819a70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7138",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 96.842,
    "s": 33.728,
    "l": 33.137
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.09319,
    "h": 134.5
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#4E7138
secondary
#8965A0
accent
#5ECAA0
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7138

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

Preview Lab → · Contrast checker → · Palette generator →

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