#4E8528#4E8528

#4E8528 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.9% C 0.138 H 135.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E8528
RGBrgb(78, 133, 40)
HSLhsl(95, 54%, 34%)
HSVhsv(95, 70%, 52%)
CMYKcmyk(41.4%, 0%, 69.9%, 47.8%)
CIE-LABlab(50.15, -34.92, 42.63)
CIE-LCHlch(50.15, 55.11, 129.32°)
OKLaboklab(55.85% -0.0973 0.0972)
OKLCHoklch(55.85% 0.138 135)
XYZxyz(11.9122, 18.5473, 4.9594)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8528 #5F2885
analogous
#7D8528 #4E8528 #288531
triadic
#4E8528 #284E85 #85284E
tetradic
#4E8528 #287D85 #5F2885 #853128
square
#4E8528 #287D85 #5F2885 #853128
split-complementary
#4E8528 #312885 #85287D
monochromatic
#17270C #32561A #4E8528 #6AB436 #89CD5A

Accessibility & contrast

On white

4.46
#4E8528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4E8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8528
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8528#FFFFFF#000000##000000
##4E85281.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1B
Deuteranopia (green-blind)
#827630
Tritanopia (blue-blind)
#4D8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e8528;
/* rgb */ color: rgb(78, 133, 40);
/* oklch */ color: oklch(55.9% 0.138 135.0);
Tailwind
colors: {
  custom: {
    50: '#84a967',
    500: '#4e8528',
    950: '#000000',
  },
}
SCSS
$custom: #4e8528;
$custom-light: #84a967;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8528",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 95.484,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.13757,
    "h": 135
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#4E8528
secondary
#8D56B3
accent
#4BDDA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8528

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

Preview Lab → · Contrast checker → · Palette generator →

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