#4E8D15#4E8D15

#4E8D15 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.159 H 134.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E8D15
RGBrgb(78, 141, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 55%)
CMYKcmyk(44.7%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.64, -39.58, 51.68)
CIE-LCHlch(52.64, 65.09, 127.45°)
OKLaboklab(57.86% -0.1112 0.1133)
OKLCHoklch(57.86% 0.159 134.5)
XYZxyz(12.8019, 20.7229, 4.0347)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D15 #54158D
analogous
#8A8D15 #4E8D15 #158D18
triadic
#4E8D15 #154E8D #8D154E
tetradic
#4E8D15 #158A8D #54158D #8D1815
square
#4E8D15 #158A8D #54158D #8D1815
split-complementary
#4E8D15 #18158D #8D158A
monochromatic
#132205 #31580D #4E8D15 #6BC21D #8AE23B

Accessibility & contrast

On white

4.08
#4E8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4E8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D15
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D15#FFFFFF#000000##000000
##4E8D151.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#4D8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d15;
/* rgb */ color: rgb(78, 141, 21);
/* oklch */ color: oklch(57.9% 0.159 134.5);
Tailwind
colors: {
  custom: {
    50: '#86af5f',
    500: '#4e8d15',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d15;
$custom-light: #86af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d15",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 91.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.15875,
    "h": 134.5
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#4E8D15
secondary
#823DC1
accent
#37F199
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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