#4E7916#4E7916

#4E7916 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.133 H 131.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E7916
RGBrgb(78, 121, 22)
HSLhsl(86, 69%, 28%)
HSVhsv(86, 82%, 47%)
CMYKcmyk(35.5%, 0%, 81.8%, 52.5%)
CIE-LABlab(46.11, -30.71, 45.44)
CIE-LCHlch(46.11, 54.85, 124.05°)
OKLaboklab(52.51% -0.0873 0.1003)
OKLCHoklch(52.51% 0.133 131)
XYZxyz(10.1240, 15.3520, 3.1887)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7916 #411679
analogous
#797216 #4E7916 #1C7916
triadic
#4E7916 #164E79 #79164E
tetradic
#4E7916 #167972 #411679 #79161C
square
#4E7916 #167972 #411679 #79161C
split-complementary
#4E7916 #161C79 #721679
monochromatic
#111A05 #2D450D #4E7916 #6FAD1F #90D930

Accessibility & contrast

On white

5.16
#4E7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4E7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7916
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7916#FFFFFF#000000##FFFFFF
##4E79161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#507467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7916;
/* rgb */ color: rgb(78, 121, 22);
/* oklch */ color: oklch(52.5% 0.133 131.0);
Tailwind
colors: {
  custom: {
    50: '#84a05d',
    500: '#4e7916',
    950: '#000000',
  },
}
SCSS
$custom: #4e7916;
$custom-light: #84a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7916",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 86.061,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.13298,
    "h": 131
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#4E7916
secondary
#6E3DAE
accent
#3CEC88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7916

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

Preview Lab → · Contrast checker → · Palette generator →

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