#4E8622#4E8622

#4E8622 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.143 H 134.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E8622
RGBrgb(78, 134, 34)
HSLhsl(94, 60%, 33%)
HSVhsv(94, 75%, 53%)
CMYKcmyk(41.8%, 0%, 74.6%, 47.5%)
CIE-LABlab(50.43, -35.83, 45.35)
CIE-LCHlch(50.43, 57.80, 128.31°)
OKLaboklab(56.07% -0.1003 0.102)
OKLCHoklch(56.07% 0.143 134.5)
XYZxyz(11.9555, 18.7848, 4.5089)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8622 #5A2286
analogous
#808622 #4E8622 #228628
triadic
#4E8622 #224E86 #86224E
tetradic
#4E8622 #228086 #5A2286 #862822
square
#4E8622 #228086 #5A2286 #862822
split-complementary
#4E8622 #282286 #862280
monochromatic
#152409 #325516 #4E8622 #6AB72E #89D350

Accessibility & contrast

On white

4.41
#4E8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8622
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8622#FFFFFF#000000##000000
##4E86221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#4D8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e8622;
/* rgb */ color: rgb(78, 134, 34);
/* oklch */ color: oklch(56.1% 0.143 134.5);
Tailwind
colors: {
  custom: {
    50: '#85a964',
    500: '#4e8622',
    950: '#000000',
  },
}
SCSS
$custom: #4e8622;
$custom-light: #85a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8622",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 93.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.14305,
    "h": 134.5
  },
  "luminance": 0.18785
}

Semantic roles & 50–950 ramp

primary
#4E8622
secondary
#884EB6
accent
#45E39D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8622

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

Preview Lab → · Contrast checker → · Palette generator →

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