#4E8F1B#4E8F1B

#4E8F1B is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.159 H 135.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F1B
RGBrgb(78, 143, 27)
HSLhsl(94, 68%, 33%)
HSVhsv(94, 81%, 56%)
CMYKcmyk(45.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(53.32, -40.13, 50.57)
CIE-LCHlch(53.32, 64.55, 128.43°)
OKLaboklab(58.43% -0.1123 0.1119)
OKLCHoklch(58.43% 0.159 135.1)
XYZxyz(13.1619, 21.3430, 4.4628)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F1B #5C1B8F
analogous
#888F1B #4E8F1B #1B8F22
triadic
#4E8F1B #1B4E8F #8F1B4E
tetradic
#4E8F1B #1B888F #5C1B8F #8F221B
square
#4E8F1B #1B888F #5C1B8F #8F221B
split-complementary
#4E8F1B #221B8F #8F1B88
monochromatic
#162808 #325C11 #4E8F1B #6AC225 #89DC48

Accessibility & contrast

On white

3.99
#4E8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F1B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F1B#FFFFFF#000000##000000
##4E8F1B1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f1b;
/* rgb */ color: rgb(78, 143, 27);
/* oklch */ color: oklch(58.4% 0.159 135.1);
Tailwind
colors: {
  custom: {
    50: '#86b062',
    500: '#4e8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f1b;
$custom-light: #86b062;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f1b",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 93.621,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.15852,
    "h": 135.1
  },
  "luminance": 0.21344
}

Semantic roles & 50–950 ramp

primary
#4E8F1B
secondary
#8A48BE
accent
#3DEB9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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