#4D771A#4D771A

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

Color values

HEX#4D771A
RGBrgb(77, 119, 26)
HSLhsl(87, 64%, 28%)
HSVhsv(87, 78%, 47%)
CMYKcmyk(35.3%, 0%, 78.2%, 53.3%)
CIE-LABlab(45.42, -29.94, 43.39)
CIE-LCHlch(45.42, 52.72, 124.61°)
OKLaboklab(51.94% -0.0848 0.0967)
OKLCHoklch(51.94% 0.129 131.3)
XYZxyz(9.8438, 14.8456, 3.3239)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D771A #441A77
analogous
#77721A #4D771A #1E771A
triadic
#4D771A #1A4D77 #771A4D
tetradic
#4D771A #1A7772 #441A77 #771A1E
square
#4D771A #1A7772 #441A77 #771A1E
split-complementary
#4D771A #1A1E77 #721A77
monochromatic
#101905 #2C450F #4D771A #6DA925 #8DD338

Accessibility & contrast

On white

5.29
#4D771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D771A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D771A#FFFFFF#000000##FFFFFF
##4D771A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E06
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#4E7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d771a;
/* rgb */ color: rgb(77, 119, 26);
/* oklch */ color: oklch(51.9% 0.129 131.3);
Tailwind
colors: {
  custom: {
    50: '#839e5e',
    500: '#4d771a',
    950: '#000000',
  },
}
SCSS
$custom: #4d771a;
$custom-light: #839e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d771a",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 87.097,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.12865,
    "h": 131.3
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#4D771A
secondary
#7141AC
accent
#41E78C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D771A

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

Preview Lab → · Contrast checker → · Palette generator →

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