#4D771C#4D771C

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

Color values

HEX#4D771C
RGBrgb(77, 119, 28)
HSLhsl(88, 62%, 29%)
HSVhsv(88, 76%, 47%)
CMYKcmyk(35.3%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.43, -29.81, 42.66)
CIE-LCHlch(45.43, 52.05, 124.95°)
OKLaboklab(51.96% -0.0843 0.0955)
OKLCHoklch(51.96% 0.127 131.5)
XYZxyz(9.8669, 14.8549, 3.4458)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D771C #461C77
analogous
#77741C #4D771C #20771C
triadic
#4D771C #1C4D77 #771C4D
tetradic
#4D771C #1C7774 #461C77 #771C20
square
#4D771C #1C7774 #461C77 #771C20
split-complementary
#4D771C #1C2077 #741C77
monochromatic
#101906 #2D4510 #4D771C #6DA928 #8CD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D771C#FFFFFF#000000##FFFFFF
##4D771C1.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)
#7C6E0A
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#4E7265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d771c;
/* rgb */ color: rgb(77, 119, 28);
/* oklch */ color: oklch(52.0% 0.127 131.5);
Tailwind
colors: {
  custom: {
    50: '#839e5f',
    500: '#4d771c',
    950: '#000000',
  },
}
SCSS
$custom: #4d771c;
$custom-light: #839e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d771c",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 87.692,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.12741,
    "h": 131.5
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#4D771C
secondary
#7344AB
accent
#43E58E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D771C

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

Preview Lab → · Contrast checker → · Palette generator →

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