#4E7617#4E7617

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

Color values

HEX#4E7617
RGBrgb(78, 118, 23)
HSLhsl(85, 67%, 28%)
HSVhsv(85, 81%, 46%)
CMYKcmyk(33.9%, 0%, 80.5%, 53.7%)
CIE-LABlab(45.13, -29.25, 44.20)
CIE-LCHlch(45.13, 53.00, 123.50°)
OKLaboklab(51.72% -0.0833 0.0979)
OKLCHoklch(51.72% 0.129 130.4)
XYZxyz(9.7749, 14.6381, 3.1209)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7617 #3F1776
analogous
#766E17 #4E7617 #1F7617
triadic
#4E7617 #174E76 #76174E
tetradic
#4E7617 #17766E #3F1776 #76171F
square
#4E7617 #17766E #3F1776 #76171F
split-complementary
#4E7617 #171F76 #6E1776
monochromatic
#111A05 #2C430D #4E7617 #70A921 #91D731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7617#FFFFFF#000000##FFFFFF
##4E76171.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)
#766A21
Tritanopia (blue-blind)
#507164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7617;
/* rgb */ color: rgb(78, 118, 23);
/* oklch */ color: oklch(51.7% 0.129 130.4);
Tailwind
colors: {
  custom: {
    50: '#839d5d',
    500: '#4e7617',
    950: '#000000',
  },
}
SCSS
$custom: #4e7617;
$custom-light: #839d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7617",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 85.263,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.1285,
    "h": 130.4
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#4E7617
secondary
#6C3EAB
accent
#3EEA86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7617

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

Preview Lab → · Contrast checker → · Palette generator →

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