#4C771E#4C771E

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

Color values

HEX#4C771E
RGBrgb(76, 119, 30)
HSLhsl(89, 60%, 29%)
HSVhsv(89, 75%, 47%)
CMYKcmyk(36.1%, 0%, 74.8%, 53.3%)
CIE-LABlab(45.39, -30.07, 41.82)
CIE-LCHlch(45.39, 51.51, 125.72°)
OKLaboklab(51.91% -0.0848 0.0941)
OKLCHoklch(51.91% 0.127 132)
XYZxyz(9.8115, 14.8235, 3.5723)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C771E #491E77
analogous
#77761E #4C771E #1F771E
triadic
#4C771E #1E4C77 #771E4C
tetradic
#4C771E #1E7776 #491E77 #771E1F
square
#4C771E #1E7776 #491E77 #771E1F
split-complementary
#4C771E #1E1F77 #761E77
monochromatic
#101806 #2D4612 #4C771E #6BA82A #8ACF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C771E#FFFFFF#000000##FFFFFF
##4C771E1.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)
#7C6E0E
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#4D7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c771e;
/* rgb */ color: rgb(76, 119, 30);
/* oklch */ color: oklch(51.9% 0.127 132.0);
Tailwind
colors: {
  custom: {
    50: '#829e60',
    500: '#4c771e',
    950: '#000000',
  },
}
SCSS
$custom: #4c771e;
$custom-light: #829e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c771e",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 88.989,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.12665,
    "h": 132
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#4C771E
secondary
#7746AB
accent
#45E391
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C771E

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

Preview Lab → · Contrast checker → · Palette generator →

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