#4E7416#4E7416

#4E7416 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.126 H 129.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E7416
RGBrgb(78, 116, 22)
HSLhsl(84, 68%, 27%)
HSVhsv(84, 81%, 45%)
CMYKcmyk(32.8%, 0%, 81%, 54.5%)
CIE-LABlab(44.47, -28.36, 43.92)
CIE-LCHlch(44.47, 52.28, 122.85°)
OKLaboklab(51.18% -0.0809 0.0971)
OKLCHoklch(51.18% 0.126 129.8)
XYZxyz(9.5321, 14.1681, 2.9914)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7416 #3C1674
analogous
#746B16 #4E7416 #1F7416
triadic
#4E7416 #164E74 #74164E
tetradic
#4E7416 #16746B #3C1674 #74161F
square
#4E7416 #16746B #3C1674 #74161F
split-complementary
#4E7416 #161F74 #6B1674
monochromatic
#111A05 #2B410C #4E7416 #71A720 #92D72D

Accessibility & contrast

On white

5.48
#4E7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7416
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7416#FFFFFF#000000##FFFFFF
##4E74161.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7416;
/* rgb */ color: rgb(78, 116, 22);
/* oklch */ color: oklch(51.2% 0.126 129.8);
Tailwind
colors: {
  custom: {
    50: '#839c5c',
    500: '#4e7416',
    950: '#000000',
  },
}
SCSS
$custom: #4e7416;
$custom-light: #839c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7416",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 84.255,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.1264,
    "h": 129.8
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#4E7416
secondary
#683CAA
accent
#3DEB83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7416

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

Preview Lab → · Contrast checker → · Palette generator →

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