#4E7927#4E7927

#4E7927 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.122 H 132.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7927
RGBrgb(78, 121, 39)
HSLhsl(91, 51%, 31%)
HSVhsv(91, 68%, 47%)
CMYKcmyk(35.5%, 0%, 67.8%, 52.5%)
CIE-LABlab(46.23, -29.51, 38.90)
CIE-LCHlch(46.23, 48.83, 127.18°)
OKLaboklab(52.65% -0.0827 0.0892)
OKLCHoklch(52.65% 0.122 132.8)
XYZxyz(10.3453, 15.4405, 4.3543)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7927 #522779
analogous
#777927 #4E7927 #277929
triadic
#4E7927 #274E79 #79274E
tetradic
#4E7927 #277779 #522779 #792927
square
#4E7927 #277779 #522779 #792927
split-complementary
#4E7927 #292779 #792777
monochromatic
#121C09 #304B18 #4E7927 #6CA736 #8AC853

Accessibility & contrast

On white

5.14
#4E7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7927
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7927#FFFFFF#000000##FFFFFF
##4E79271.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7927;
/* rgb */ color: rgb(78, 121, 39);
/* oklch */ color: oklch(52.6% 0.122 132.8);
Tailwind
colors: {
  custom: {
    50: '#83a065',
    500: '#4e7927',
    950: '#000000',
  },
}
SCSS
$custom: #4e7927;
$custom-light: #83a065;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7927",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 91.463,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.12163,
    "h": 132.8
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#4E7927
secondary
#8051AB
accent
#4DDB97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7927

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

Preview Lab → · Contrast checker → · Palette generator →

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