#4C7420#4C7420

#4C7420 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.121 H 131.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4C7420
RGBrgb(76, 116, 32)
HSLhsl(89, 57%, 29%)
HSVhsv(89, 72%, 45%)
CMYKcmyk(34.5%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.42, -28.50, 40.02)
CIE-LCHlch(44.42, 49.13, 125.46°)
OKLaboklab(51.12% -0.0804 0.0906)
OKLCHoklch(51.12% 0.121 131.6)
XYZxyz(9.4865, 14.1312, 3.5940)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7420 #482074
analogous
#747220 #4C7420 #227420
triadic
#4C7420 #204C74 #74204C
tetradic
#4C7420 #207472 #482074 #742022
square
#4C7420 #207472 #482074 #742022
split-complementary
#4C7420 #202274 #722074
monochromatic
#101807 #2D4413 #4C7420 #6BA42D #8ACB43

Accessibility & contrast

On white

5.49
#4C7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4C7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7420
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7420#FFFFFF#000000##FFFFFF
##4C74201.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#4D6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7420;
/* rgb */ color: rgb(76, 116, 32);
/* oklch */ color: oklch(51.1% 0.121 131.6);
Tailwind
colors: {
  custom: {
    50: '#819c61',
    500: '#4c7420',
    950: '#000000',
  },
}
SCSS
$custom: #4c7420;
$custom-light: #819c61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7420",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 88.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.12112,
    "h": 131.6
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#4C7420
secondary
#7648A8
accent
#48E090
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7420

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

Preview Lab → · Contrast checker → · Palette generator →

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