#4E8517#4E8517

#4E8517 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.7% C 0.148 H 133.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E8517
RGBrgb(78, 133, 23)
HSLhsl(90, 71%, 31%)
HSVhsv(90, 83%, 52%)
CMYKcmyk(41.4%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.04, -36.06, 48.76)
CIE-LCHlch(50.04, 60.65, 126.49°)
OKLaboklab(55.73% -0.1016 0.1075)
OKLCHoklch(55.73% 0.148 133.4)
XYZxyz(11.6839, 18.4560, 3.7572)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8517 #4E1785
analogous
#858517 #4E8517 #178517
triadic
#4E8517 #174E85 #85174E
tetradic
#4E8517 #178585 #4E1785 #851717
square
#4E8517 #178585 #4E1785 #851717
split-complementary
#4E8517 #171785 #851785
monochromatic
#111D05 #2F510E #4E8517 #6DB920 #8BDD3A

Accessibility & contrast

On white

4.48
#4E8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4E8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8517
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8517#FFFFFF#000000##000000
##4E85171.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#4E7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e8517;
/* rgb */ color: rgb(78, 133, 23);
/* oklch */ color: oklch(55.7% 0.148 133.4);
Tailwind
colors: {
  custom: {
    50: '#85a95f',
    500: '#4e8517',
    950: '#000000',
  },
}
SCSS
$custom: #4e8517;
$custom-light: #85a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8517",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5573,
    "c": 0.14791,
    "h": 133.4
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#4E8517
secondary
#7C3FB9
accent
#3BED94
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4E8517

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

Preview Lab → · Contrast checker → · Palette generator →

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