#4D771D#4D771D

#4D771D is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.127 H 131.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D771D
RGBrgb(77, 119, 29)
HSLhsl(88, 61%, 29%)
HSVhsv(88, 76%, 47%)
CMYKcmyk(35.3%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.44, -29.75, 42.28)
CIE-LCHlch(45.44, 51.70, 125.13°)
OKLaboklab(51.97% -0.0841 0.0949)
OKLCHoklch(51.97% 0.127 131.6)
XYZxyz(9.8791, 14.8598, 3.5099)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D771D #471D77
analogous
#77741D #4D771D #20771D
triadic
#4D771D #1D4D77 #771D4D
tetradic
#4D771D #1D7774 #471D77 #771D20
square
#4D771D #1D7774 #471D77 #771D20
split-complementary
#4D771D #1D2077 #741D77
monochromatic
#101906 #2D4611 #4D771D #6DA829 #8CD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D771D#FFFFFF#000000##FFFFFF
##4D771D1.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)
#7C6E0C
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#4E7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d771d;
/* rgb */ color: rgb(77, 119, 29);
/* oklch */ color: oklch(52.0% 0.127 131.6);
Tailwind
colors: {
  custom: {
    50: '#839e60',
    500: '#4d771d',
    950: '#000000',
  },
}
SCSS
$custom: #4d771d;
$custom-light: #839e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d771d",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 88,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.12676,
    "h": 131.6
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#4D771D
secondary
#7445AB
accent
#44E48F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D771D

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

Preview Lab → · Contrast checker → · Palette generator →

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