#4E8B1E#4E8B1E

#4E8B1E is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.152 H 134.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B1E
RGBrgb(78, 139, 30)
HSLhsl(94, 64%, 33%)
HSVhsv(94, 78%, 55%)
CMYKcmyk(43.9%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.04, -38.26, 48.37)
CIE-LCHlch(52.04, 61.68, 128.34°)
OKLaboklab(57.38% -0.1071 0.1077)
OKLCHoklch(57.38% 0.152 134.8)
XYZxyz(12.6086, 20.1780, 4.4584)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B1E #5B1E8B
analogous
#848B1E #4E8B1E #1E8B24
triadic
#4E8B1E #1E4E8B #8B1E4E
tetradic
#4E8B1E #1E848B #5B1E8B #8B241E
square
#4E8B1E #1E848B #5B1E8B #8B241E
split-complementary
#4E8B1E #241E8B #8B1E84
monochromatic
#162608 #325913 #4E8B1E #6ABD29 #89D84B

Accessibility & contrast

On white

4.17
#4E8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B1E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B1E#FFFFFF#000000##000000
##4E8B1E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#4D8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b1e;
/* rgb */ color: rgb(78, 139, 30);
/* oklch */ color: oklch(57.4% 0.152 134.8);
Tailwind
colors: {
  custom: {
    50: '#85ad63',
    500: '#4e8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b1e;
$custom-light: #85ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b1e",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 93.578,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.15192,
    "h": 134.8
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#4E8B1E
secondary
#894ABB
accent
#40E79E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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