#4D7D20#4D7D20

#4D7D20 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.133 H 133.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D7D20
RGBrgb(77, 125, 32)
HSLhsl(91, 59%, 31%)
HSVhsv(91, 74%, 49%)
CMYKcmyk(38.4%, 0%, 74.4%, 51%)
CIE-LABlab(47.43, -32.31, 43.09)
CIE-LCHlch(47.43, 53.86, 126.87°)
OKLaboklab(53.59% -0.0908 0.097)
OKLCHoklch(53.59% 0.133 133.1)
XYZxyz(10.6547, 16.3488, 3.9605)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D20 #50207D
analogous
#7B7D20 #4D7D20 #207D21
triadic
#4D7D20 #204D7D #7D204D
tetradic
#4D7D20 #207B7D #50207D #7D2120
square
#4D7D20 #207B7D #50207D #7D2120
split-complementary
#4D7D20 #21207D #7D207B
monochromatic
#111C07 #2F4C14 #4D7D20 #6BAE2C #89D047

Accessibility & contrast

On white

4.92
#4D7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4D7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D20
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D20#FFFFFF#000000##FFFFFF
##4D7D201.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#4D786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d20;
/* rgb */ color: rgb(77, 125, 32);
/* oklch */ color: oklch(53.6% 0.133 133.1);
Tailwind
colors: {
  custom: {
    50: '#83a362',
    500: '#4d7d20',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d20;
$custom-light: #83a362;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d20",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 90.968,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.1329,
    "h": 133.1
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#4D7D20
secondary
#7E49B0
accent
#45E296
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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