#4E8F15#4E8F15

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

Color values

HEX#4E8F15
RGBrgb(78, 143, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(45.5%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.30, -40.42, 52.26)
CIE-LCHlch(53.30, 66.06, 127.72°)
OKLaboklab(58.39% -0.1134 0.1145)
OKLCHoklch(58.39% 0.161 134.7)
XYZxyz(13.0994, 21.3180, 4.1339)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F15 #56158F
analogous
#8B8F15 #4E8F15 #158F19
triadic
#4E8F15 #154E8F #8F154E
tetradic
#4E8F15 #158B8F #56158F #8F1915
square
#4E8F15 #158B8F #56158F #8F1915
split-complementary
#4E8F15 #19158F #8F158B
monochromatic
#142405 #315A0D #4E8F15 #6BC41D #8AE23C

Accessibility & contrast

On white

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

On black

5.26
#4E8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F15
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F15#FFFFFF#000000##000000
##4E8F151.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8f15;
/* rgb */ color: rgb(78, 143, 21);
/* oklch */ color: oklch(58.4% 0.161 134.7);
Tailwind
colors: {
  custom: {
    50: '#86b060',
    500: '#4e8f15',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f15;
$custom-light: #86b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f15",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 91.967,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.16119,
    "h": 134.7
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#4E8F15
secondary
#843EC2
accent
#37F19A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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