#4E8E1B#4E8E1B

#4E8E1B is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.157 H 135.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E8E1B
RGBrgb(78, 142, 27)
HSLhsl(93, 68%, 33%)
HSVhsv(93, 81%, 56%)
CMYKcmyk(45.1%, 0%, 81%, 44.3%)
CIE-LABlab(53.00, -39.71, 50.26)
CIE-LCHlch(53.00, 64.05, 128.31°)
OKLaboklab(58.16% -0.1112 0.1112)
OKLCHoklch(58.16% 0.157 135)
XYZxyz(13.0124, 21.0441, 4.4130)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E1B #5B1B8E
analogous
#878E1B #4E8E1B #1B8E21
triadic
#4E8E1B #1B4E8E #8E1B4E
tetradic
#4E8E1B #1B878E #5B1B8E #8E211B
square
#4E8E1B #1B878E #5B1B8E #8E211B
split-complementary
#4E8E1B #211B8E #8E1B87
monochromatic
#162707 #325B11 #4E8E1B #6AC125 #89DC47

Accessibility & contrast

On white

4.03
#4E8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E1B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E1B#FFFFFF#000000##000000
##4E8E1B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e1b;
/* rgb */ color: rgb(78, 142, 27);
/* oklch */ color: oklch(58.2% 0.157 135.0);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4e8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e1b;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e1b",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 93.391,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.15728,
    "h": 135
  },
  "luminance": 0.21045
}

Semantic roles & 50–950 ramp

primary
#4E8E1B
secondary
#8947BE
accent
#3DEB9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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