#4E7938#4E7938

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

Color values

HEX#4E7938
RGBrgb(78, 121, 56)
HSLhsl(100, 37%, 35%)
HSVhsv(100, 54%, 47%)
CMYKcmyk(35.5%, 0%, 53.7%, 52.5%)
CIE-LABlab(46.42, -27.67, 30.74)
CIE-LCHlch(46.42, 41.36, 131.99°)
OKLaboklab(52.86% -0.0763 0.0735)
OKLCHoklch(52.86% 0.106 136.1)
XYZxyz(10.6928, 15.5795, 6.1844)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7938 #633879
analogous
#6F7938 #4E7938 #387942
triadic
#4E7938 #384E79 #79384E
tetradic
#4E7938 #386F79 #633879 #794238
square
#4E7938 #386F79 #633879 #794238
split-complementary
#4E7938 #423879 #79386F
monochromatic
#182511 #334F25 #4E7938 #69A34B #89BC6F

Accessibility & contrast

On white

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

On black

4.12
#4E7938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7938#FFFFFF#000000##FFFFFF
##4E79381.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7938;
/* rgb */ color: rgb(78, 121, 56);
/* oklch */ color: oklch(52.9% 0.106 136.1);
Tailwind
colors: {
  custom: {
    50: '#82a070',
    500: '#4e7938',
    950: '#000000',
  },
}
SCSS
$custom: #4e7938;
$custom-light: #82a070;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7938",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 99.692,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.10589,
    "h": 136.1
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#4E7938
secondary
#9067A5
accent
#5BCDA6
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7938

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

Preview Lab → · Contrast checker → · Palette generator →

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