#4D7720#4D7720

#4D7720 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.125 H 131.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D7720
RGBrgb(77, 119, 32)
HSLhsl(89, 58%, 30%)
HSVhsv(89, 73%, 47%)
CMYKcmyk(35.3%, 0%, 73.1%, 53.3%)
CIE-LABlab(45.46, -29.53, 41.10)
CIE-LCHlch(45.46, 50.61, 125.70°)
OKLaboklab(51.99% -0.0832 0.0929)
OKLCHoklch(51.99% 0.125 131.9)
XYZxyz(9.9180, 14.8753, 3.7149)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7720 #4A2077
analogous
#777620 #4D7720 #217720
triadic
#4D7720 #204D77 #77204D
tetradic
#4D7720 #207776 #4A2077 #772021
square
#4D7720 #207776 #4A2077 #772021
split-complementary
#4D7720 #202177 #762077
monochromatic
#101806 #2E4713 #4D7720 #6CA72D #8BCD45

Accessibility & contrast

On white

5.28
#4D7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4D7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7720
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7720#FFFFFF#000000##FFFFFF
##4D77201.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E12
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#4E7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d7720;
/* rgb */ color: rgb(77, 119, 32);
/* oklch */ color: oklch(52.0% 0.125 131.9);
Tailwind
colors: {
  custom: {
    50: '#829e61',
    500: '#4d7720',
    950: '#000000',
  },
}
SCSS
$custom: #4d7720;
$custom-light: #829e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7720",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 88.966,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.12471,
    "h": 131.9
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#4D7720
secondary
#7848AA
accent
#47E191
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7720

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

Preview Lab → · Contrast checker → · Palette generator →

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