#4C771D#4C771D

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

Color values

HEX#4C771D
RGBrgb(76, 119, 29)
HSLhsl(89, 61%, 29%)
HSVhsv(89, 76%, 47%)
CMYKcmyk(36.1%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.38, -30.14, 42.21)
CIE-LCHlch(45.38, 51.86, 125.53°)
OKLaboklab(51.9% -0.0851 0.0947)
OKLCHoklch(51.9% 0.127 131.9)
XYZxyz(9.7990, 14.8185, 3.5061)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C771D #481D77
analogous
#77751D #4C771D #1F771D
triadic
#4C771D #1D4C77 #771D4C
tetradic
#4C771D #1D7775 #481D77 #771D1F
square
#4C771D #1D7775 #481D77 #771D1F
split-complementary
#4C771D #1D1F77 #751D77
monochromatic
#101906 #2D4611 #4C771D #6BA829 #8AD03E

Accessibility & contrast

On white

5.30
#4C771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C771D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C771D#FFFFFF#000000##FFFFFF
##4C771D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c771d;
/* rgb */ color: rgb(76, 119, 29);
/* oklch */ color: oklch(51.9% 0.127 131.9);
Tailwind
colors: {
  custom: {
    50: '#829e60',
    500: '#4c771d',
    950: '#000000',
  },
}
SCSS
$custom: #4c771d;
$custom-light: #829e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c771d",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 88.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.12732,
    "h": 131.9
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#4C771D
secondary
#7645AB
accent
#44E490
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C771D

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

Preview Lab → · Contrast checker → · Palette generator →

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