#4C7320#4C7320

#4C7320 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.120 H 131.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4C7320
RGBrgb(76, 115, 32)
HSLhsl(88, 56%, 29%)
HSVhsv(88, 72%, 45%)
CMYKcmyk(33.9%, 0%, 72.2%, 54.9%)
CIE-LABlab(44.09, -28.02, 39.68)
CIE-LCHlch(44.09, 48.58, 125.23°)
OKLaboklab(50.86% -0.0791 0.0899)
OKLCHoklch(50.86% 0.12 131.3)
XYZxyz(9.3718, 13.9019, 3.5558)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7320 #472073
analogous
#737120 #4C7320 #227320
triadic
#4C7320 #204C73 #73204C
tetradic
#4C7320 #207371 #472073 #732022
square
#4C7320 #207371 #472073 #732022
split-complementary
#4C7320 #202273 #712073
monochromatic
#101807 #2C4313 #4C7320 #6CA32D #8BCB43

Accessibility & contrast

On white

5.55
#4C7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4C7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7320
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7320#FFFFFF#000000##FFFFFF
##4C73201.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#4D6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c7320;
/* rgb */ color: rgb(76, 115, 32);
/* oklch */ color: oklch(50.9% 0.120 131.3);
Tailwind
colors: {
  custom: {
    50: '#819b61',
    500: '#4c7320',
    950: '#000000',
  },
}
SCSS
$custom: #4c7320;
$custom-light: #819b61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7320",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 88.193,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.11972,
    "h": 131.3
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#4C7320
secondary
#7548A7
accent
#48E08F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7320

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

Preview Lab → · Contrast checker → · Palette generator →

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