#4E7928#4E7928

#4E7928 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.121 H 133.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4E7928
RGBrgb(78, 121, 40)
HSLhsl(92, 50%, 32%)
HSVhsv(92, 67%, 47%)
CMYKcmyk(35.5%, 0%, 66.9%, 52.5%)
CIE-LABlab(46.24, -29.42, 38.46)
CIE-LCHlch(46.24, 48.42, 127.42°)
OKLaboklab(52.66% -0.0823 0.0884)
OKLCHoklch(52.66% 0.121 133)
XYZxyz(10.3621, 15.4472, 4.4427)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7928 #532879
analogous
#777928 #4E7928 #28792B
triadic
#4E7928 #284E79 #79284E
tetradic
#4E7928 #287779 #532879 #792B28
square
#4E7928 #287779 #532879 #792B28
split-complementary
#4E7928 #2B2879 #792877
monochromatic
#131D0A #304B19 #4E7928 #6CA737 #8AC755

Accessibility & contrast

On white

5.13
#4E7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4E7928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7928
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7928#FFFFFF#000000##FFFFFF
##4E79281.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#4F7468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7928;
/* rgb */ color: rgb(78, 121, 40);
/* oklch */ color: oklch(52.7% 0.121 133.0);
Tailwind
colors: {
  custom: {
    50: '#83a066',
    500: '#4e7928',
    950: '#000000',
  },
}
SCSS
$custom: #4e7928;
$custom-light: #83a066;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7928",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 91.852,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.12082,
    "h": 133
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#4E7928
secondary
#8152AB
accent
#4EDA98
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7928

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

Preview Lab → · Contrast checker → · Palette generator →

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