#4E8722#4E8722

#4E8722 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.144 H 134.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E8722
RGBrgb(78, 135, 34)
HSLhsl(94, 60%, 33%)
HSVhsv(94, 75%, 53%)
CMYKcmyk(42.2%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.76, -36.27, 45.67)
CIE-LCHlch(50.76, 58.32, 128.45°)
OKLaboklab(56.34% -0.1014 0.1027)
OKLCHoklch(56.34% 0.144 134.6)
XYZxyz(12.0943, 19.0625, 4.5552)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8722 #5B2287
analogous
#808722 #4E8722 #228728
triadic
#4E8722 #224E87 #87224E
tetradic
#4E8722 #228087 #5B2287 #872822
square
#4E8722 #228087 #5B2287 #872822
split-complementary
#4E8722 #282287 #872280
monochromatic
#162509 #325616 #4E8722 #6AB82E #89D350

Accessibility & contrast

On white

4.36
#4E8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8722
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8722#FFFFFF#000000##000000
##4E87221.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#4D8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8722;
/* rgb */ color: rgb(78, 135, 34);
/* oklch */ color: oklch(56.3% 0.144 134.6);
Tailwind
colors: {
  custom: {
    50: '#85aa64',
    500: '#4e8722',
    950: '#000000',
  },
}
SCSS
$custom: #4e8722;
$custom-light: #85aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8722",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 93.861,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.14437,
    "h": 134.6
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#4E8722
secondary
#894EB7
accent
#45E39E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8722

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

Preview Lab → · Contrast checker → · Palette generator →

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