#4E8D1E#4E8D1E

#4E8D1E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.154 H 135.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E8D1E
RGBrgb(78, 141, 30)
HSLhsl(94, 65%, 34%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(44.7%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.69, -39.11, 49.00)
CIE-LCHlch(52.69, 62.69, 128.60°)
OKLaboklab(57.91% -0.1094 0.1091)
OKLCHoklch(57.91% 0.154 135.1)
XYZxyz(12.9008, 20.7624, 4.5558)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D1E #5D1E8D
analogous
#858D1E #4E8D1E #1E8D25
triadic
#4E8D1E #1E4E8D #8D1E4E
tetradic
#4E8D1E #1E858D #5D1E8D #8D251E
square
#4E8D1E #1E858D #5D1E8D #8D251E
split-complementary
#4E8D1E #251E8D #8D1E85
monochromatic
#162809 #325B13 #4E8D1E #6ABF29 #89D94C

Accessibility & contrast

On white

4.08
#4E8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D1E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D1E#FFFFFF#000000##000000
##4E8D1E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d1e;
/* rgb */ color: rgb(78, 141, 30);
/* oklch */ color: oklch(57.9% 0.154 135.1);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4e8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d1e;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d1e",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 94.054,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.15446,
    "h": 135.1
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#4E8D1E
secondary
#8B4BBC
accent
#40E89F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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