#4D7920#4D7920

#4D7920 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.127 H 132.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D7920
RGBrgb(77, 121, 32)
HSLhsl(90, 58%, 30%)
HSVhsv(90, 74%, 47%)
CMYKcmyk(36.4%, 0%, 73.6%, 52.5%)
CIE-LABlab(46.12, -30.47, 41.77)
CIE-LCHlch(46.12, 51.70, 126.11°)
OKLaboklab(52.52% -0.0858 0.0943)
OKLCHoklch(52.52% 0.127 132.3)
XYZxyz(10.1585, 15.3564, 3.7951)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7920 #4C2079
analogous
#797920 #4D7920 #207920
triadic
#4D7920 #204D79 #79204D
tetradic
#4D7920 #207979 #4C2079 #792020
square
#4D7920 #207979 #4C2079 #792020
split-complementary
#4D7920 #202079 #792079
monochromatic
#0F1806 #2E4913 #4D7920 #6CA92D #8ACE45

Accessibility & contrast

On white

5.16
#4D7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4D7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7920
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7920#FFFFFF#000000##FFFFFF
##4D79201.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#4E7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d7920;
/* rgb */ color: rgb(77, 121, 32);
/* oklch */ color: oklch(52.5% 0.127 132.3);
Tailwind
colors: {
  custom: {
    50: '#83a061',
    500: '#4d7920',
    950: '#000000',
  },
}
SCSS
$custom: #4d7920;
$custom-light: #83a061;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7920",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 89.663,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.12746,
    "h": 132.3
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#4D7920
secondary
#7A49AC
accent
#46E193
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7920

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

Preview Lab → · Contrast checker → · Palette generator →

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