#4E8013#4E8013

#4E8013 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.143 H 132.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E8013
RGBrgb(78, 128, 19)
HSLhsl(88, 74%, 29%)
HSVhsv(88, 85%, 50%)
CMYKcmyk(39.1%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.39, -34.05, 48.42)
CIE-LCHlch(48.39, 59.19, 125.11°)
OKLaboklab(54.37% -0.0965 0.1061)
OKLCHoklch(54.37% 0.143 132.3)
XYZxyz(10.9785, 17.1046, 3.3390)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8013 #451380
analogous
#807C13 #4E8013 #188013
triadic
#4E8013 #134E80 #80134E
tetradic
#4E8013 #13807C #451380 #801318
square
#4E8013 #13807C #451380 #801318
split-complementary
#4E8013 #131880 #7C1380
monochromatic
#101B04 #2E4B0B #4E8013 #6EB51B #8EE02D

Accessibility & contrast

On white

4.75
#4E8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E8013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8013
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8013#FFFFFF#000000##FFFFFF
##4E80131.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#4F7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8013;
/* rgb */ color: rgb(78, 128, 19);
/* oklch */ color: oklch(54.4% 0.143 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a55d',
    500: '#4e8013',
    950: '#000000',
  },
}
SCSS
$custom: #4e8013;
$custom-light: #85a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8013",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 87.523,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.1434,
    "h": 132.3
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#4E8013
secondary
#7239B5
accent
#37F18C
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8013

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

Preview Lab → · Contrast checker → · Palette generator →

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