#4E8520#4E8520

#4E8520 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.143 H 134.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4E8520
RGBrgb(78, 133, 32)
HSLhsl(93, 61%, 32%)
HSVhsv(93, 76%, 52%)
CMYKcmyk(41.4%, 0%, 75.9%, 47.8%)
CIE-LABlab(50.10, -35.53, 45.77)
CIE-LCHlch(50.10, 57.94, 127.83°)
OKLaboklab(55.79% -0.0996 0.1026)
OKLCHoklch(55.79% 0.143 134.1)
XYZxyz(11.7899, 18.4984, 4.3156)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8520 #572085
analogous
#818520 #4E8520 #208524
triadic
#4E8520 #204E85 #85204E
tetradic
#4E8520 #208185 #572085 #852420
square
#4E8520 #208185 #572085 #852420
split-complementary
#4E8520 #242085 #852081
monochromatic
#142208 #315414 #4E8520 #6BB62C #8AD44C

Accessibility & contrast

On white

4.47
#4E8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4E8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8520
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8520#FFFFFF#000000##000000
##4E85201.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#4D8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e8520;
/* rgb */ color: rgb(78, 133, 32);
/* oklch */ color: oklch(55.8% 0.143 134.1);
Tailwind
colors: {
  custom: {
    50: '#85a963',
    500: '#4e8520',
    950: '#000000',
  },
}
SCSS
$custom: #4e8520;
$custom-light: #85a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8520",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 92.673,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.14299,
    "h": 134.1
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#4E8520
secondary
#854AB7
accent
#43E49B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8520

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

Preview Lab → · Contrast checker → · Palette generator →

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