#4E8022#4E8022

#4E8022 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.135 H 133.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E8022
RGBrgb(78, 128, 34)
HSLhsl(92, 58%, 32%)
HSVhsv(92, 73%, 50%)
CMYKcmyk(39.1%, 0%, 73.4%, 49.8%)
CIE-LABlab(48.48, -33.16, 43.38)
CIE-LCHlch(48.48, 54.60, 127.39°)
OKLaboklab(54.47% -0.093 0.0979)
OKLCHoklch(54.47% 0.135 133.5)
XYZxyz(11.1496, 17.1730, 4.2403)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8022 #542280
analogous
#7D8022 #4E8022 #228025
triadic
#4E8022 #224E80 #80224E
tetradic
#4E8022 #227D80 #542280 #802522
square
#4E8022 #227D80 #542280 #802522
split-complementary
#4E8022 #252280 #80227D
monochromatic
#131F08 #315015 #4E8022 #6BB02F #8AD04D

Accessibility & contrast

On white

4.74
#4E8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4E8022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8022
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8022#FFFFFF#000000##FFFFFF
##4E80221.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#4E7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8022;
/* rgb */ color: rgb(78, 128, 34);
/* oklch */ color: oklch(54.5% 0.135 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a563',
    500: '#4e8022',
    950: '#000000',
  },
}
SCSS
$custom: #4e8022;
$custom-light: #84a563;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8022",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 91.915,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.13505,
    "h": 133.5
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#4E8022
secondary
#824BB2
accent
#47E199
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8022

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

Preview Lab → · Contrast checker → · Palette generator →

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