#4E7616#4E7616

#4E7616 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.129 H 130.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E7616
RGBrgb(78, 118, 22)
HSLhsl(85, 69%, 27%)
HSVhsv(85, 81%, 46%)
CMYKcmyk(33.9%, 0%, 81.4%, 53.7%)
CIE-LABlab(45.13, -29.31, 44.53)
CIE-LCHlch(45.13, 53.31, 123.35°)
OKLaboklab(51.71% -0.0835 0.0984)
OKLCHoklch(51.71% 0.129 130.3)
XYZxyz(9.7651, 14.6342, 3.0691)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7616 #3E1676
analogous
#766E16 #4E7616 #1E7616
triadic
#4E7616 #164E76 #76164E
tetradic
#4E7616 #16766E #3E1676 #76161E
square
#4E7616 #16766E #3E1676 #76161E
split-complementary
#4E7616 #161E76 #6E1676
monochromatic
#111A05 #2C420C #4E7616 #70AA20 #91D82E

Accessibility & contrast

On white

5.35
#4E7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4E7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7616
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7616#FFFFFF#000000##FFFFFF
##4E76161.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#507164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7616;
/* rgb */ color: rgb(78, 118, 22);
/* oklch */ color: oklch(51.7% 0.129 130.3);
Tailwind
colors: {
  custom: {
    50: '#849d5c',
    500: '#4e7616',
    950: '#000000',
  },
}
SCSS
$custom: #4e7616;
$custom-light: #849d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7616",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 85,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.12905,
    "h": 130.3
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#4E7616
secondary
#6B3CAC
accent
#3CEB85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7616

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

Preview Lab → · Contrast checker → · Palette generator →

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