#4E8617#4E8617

#4E8617 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.149 H 133.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E8617
RGBrgb(78, 134, 23)
HSLhsl(90, 71%, 31%)
HSVhsv(90, 83%, 53%)
CMYKcmyk(41.8%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.37, -36.50, 49.06)
CIE-LCHlch(50.37, 61.15, 126.65°)
OKLaboklab(56% -0.1028 0.1081)
OKLCHoklch(56% 0.149 133.6)
XYZxyz(11.8214, 18.7312, 3.8030)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8617 #4F1786
analogous
#858617 #4E8617 #178617
triadic
#4E8617 #174E86 #86174E
tetradic
#4E8617 #178586 #4F1786 #861717
square
#4E8617 #178586 #4F1786 #861717
split-complementary
#4E8617 #171786 #861785
monochromatic
#111E05 #30520E #4E8617 #6CBA20 #8BDD3A

Accessibility & contrast

On white

4.42
#4E8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8617
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8617#FFFFFF#000000##000000
##4E86171.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#4E8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e8617;
/* rgb */ color: rgb(78, 134, 23);
/* oklch */ color: oklch(56.0% 0.149 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a95f',
    500: '#4e8617',
    950: '#000000',
  },
}
SCSS
$custom: #4e8617;
$custom-light: #85a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8617",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 90.27,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.14918,
    "h": 133.6
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#4E8617
secondary
#7D3FBA
accent
#3AED95
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8617

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

Preview Lab → · Contrast checker → · Palette generator →

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