#4C772D#4C772D

#4C772D is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.1% C 0.115 H 134.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C772D
RGBrgb(76, 119, 45)
HSLhsl(95, 45%, 32%)
HSVhsv(95, 62%, 47%)
CMYKcmyk(36.1%, 0%, 62.2%, 53.3%)
CIE-LABlab(45.52, -28.75, 35.27)
CIE-LCHlch(45.52, 45.50, 129.18°)
OKLaboklab(52.06% -0.0799 0.0823)
OKLCHoklch(52.06% 0.115 134.2)
XYZxyz(10.0508, 14.9192, 4.8322)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C772D #582D77
analogous
#71772D #4C772D #2D7733
triadic
#4C772D #2D4C77 #772D4C
tetradic
#4C772D #2D7177 #582D77 #77332D
square
#4C772D #2D7177 #582D77 #77332D
split-complementary
#4C772D #332D77 #772D71
monochromatic
#131E0B #304B1C #4C772D #68A33E #87C25D

Accessibility & contrast

On white

5.27
#4C772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C772D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C772D#FFFFFF#000000##FFFFFF
##4C772D1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#4C7367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c772d;
/* rgb */ color: rgb(76, 119, 45);
/* oklch */ color: oklch(52.1% 0.115 134.2);
Tailwind
colors: {
  custom: {
    50: '#819e69',
    500: '#4c772d',
    950: '#000000',
  },
}
SCSS
$custom: #4c772d;
$custom-light: #819e69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c772d",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 94.865,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.1147,
    "h": 134.2
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#4C772D
secondary
#8658A8
accent
#53D59E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4C772D

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

Preview Lab → · Contrast checker → · Palette generator →

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