#4E8B1C#4E8B1C

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

Color values

HEX#4E8B1C
RGBrgb(78, 139, 28)
HSLhsl(93, 66%, 33%)
HSVhsv(93, 80%, 55%)
CMYKcmyk(43.9%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.03, -38.38, 49.03)
CIE-LCHlch(52.03, 62.27, 128.05°)
OKLaboklab(57.36% -0.1076 0.1088)
OKLCHoklch(57.36% 0.153 134.7)
XYZxyz(12.5838, 20.1681, 4.3281)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B1C #591C8B
analogous
#858B1C #4E8B1C #1C8B21
triadic
#4E8B1C #1C4E8B #8B1C4E
tetradic
#4E8B1C #1C858B #591C8B #8B211C
square
#4E8B1C #1C858B #591C8B #8B211C
split-complementary
#4E8B1C #211C8B #8B1C85
monochromatic
#152507 #315812 #4E8B1C #6BBE26 #89DA47

Accessibility & contrast

On white

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

On black

5.03
#4E8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B1C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B1C#FFFFFF#000000##000000
##4E8B1C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8b1c;
/* rgb */ color: rgb(78, 139, 28);
/* oklch */ color: oklch(57.4% 0.153 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ad62',
    500: '#4e8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b1c;
$custom-light: #85ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b1c",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 92.973,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.153,
    "h": 134.7
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#4E8B1C
secondary
#8747BC
accent
#3EE99C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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