#4C7720#4C7720

#4C7720 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.125 H 132.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4C7720
RGBrgb(76, 119, 32)
HSLhsl(90, 58%, 30%)
HSVhsv(90, 73%, 47%)
CMYKcmyk(36.1%, 0%, 73.1%, 53.3%)
CIE-LABlab(45.41, -29.92, 41.03)
CIE-LCHlch(45.41, 50.78, 126.10°)
OKLaboklab(51.93% -0.0842 0.0927)
OKLCHoklch(51.93% 0.125 132.3)
XYZxyz(9.8379, 14.8340, 3.7111)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7720 #4B2077
analogous
#777720 #4C7720 #217720
triadic
#4C7720 #204C77 #77204C
tetradic
#4C7720 #207777 #4B2077 #772021
square
#4C7720 #207777 #4B2077 #772021
split-complementary
#4C7720 #202177 #772077
monochromatic
#0F1806 #2D4713 #4C7720 #6BA72D #89CD45

Accessibility & contrast

On white

5.29
#4C7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4C7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7720
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7720#FFFFFF#000000##FFFFFF
##4C77201.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c7720;
/* rgb */ color: rgb(76, 119, 32);
/* oklch */ color: oklch(51.9% 0.125 132.3);
Tailwind
colors: {
  custom: {
    50: '#829e61',
    500: '#4c7720',
    950: '#000000',
  },
}
SCSS
$custom: #4c7720;
$custom-light: #829e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7720",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 89.655,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.12527,
    "h": 132.3
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#4C7720
secondary
#7948AA
accent
#47E193
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7720

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

Preview Lab → · Contrast checker → · Palette generator →

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