#4E8B1B#4E8B1B

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

Color values

HEX#4E8B1B
RGBrgb(78, 139, 27)
HSLhsl(93, 67%, 33%)
HSVhsv(93, 81%, 55%)
CMYKcmyk(43.9%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.02, -38.44, 49.35)
CIE-LCHlch(52.02, 62.55, 127.92°)
OKLaboklab(57.36% -0.1078 0.1093)
OKLCHoklch(57.36% 0.154 134.6)
XYZxyz(12.5721, 20.1634, 4.2662)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B1B #581B8B
analogous
#868B1B #4E8B1B #1B8B20
triadic
#4E8B1B #1B4E8B #8B1B4E
tetradic
#4E8B1B #1B868B #581B8B #8B201B
square
#4E8B1B #1B868B #581B8B #8B201B
split-complementary
#4E8B1B #201B8B #8B1B86
monochromatic
#142507 #315811 #4E8B1B #6BBE25 #8ADB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8B1B#FFFFFF#000000##000000
##4E8B1B1.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)
#917F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#4D8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b1b;
/* rgb */ color: rgb(78, 139, 27);
/* oklch */ color: oklch(57.4% 0.154 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ad61',
    500: '#4e8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b1b;
$custom-light: #85ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b1b",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 92.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.15352,
    "h": 134.6
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#4E8B1B
secondary
#8645BC
accent
#3DEA9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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