#4E771F#4E771F

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

Color values

HEX#4E771F
RGBrgb(78, 119, 31)
HSLhsl(88, 59%, 29%)
HSVhsv(88, 74%, 47%)
CMYKcmyk(34.5%, 0%, 73.9%, 53.3%)
CIE-LABlab(45.51, -29.21, 41.58)
CIE-LCHlch(45.51, 50.82, 125.09°)
OKLaboklab(52.04% -0.0825 0.0937)
OKLCHoklch(52.04% 0.125 131.4)
XYZxyz(9.9859, 14.9119, 3.6482)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E771F #481F77
analogous
#77741F #4E771F #22771F
triadic
#4E771F #1F4E77 #771F4E
tetradic
#4E771F #1F7774 #481F77 #771F22
square
#4E771F #1F7774 #481F77 #771F22
split-complementary
#4E771F #1F2277 #741F77
monochromatic
#101806 #2E4612 #4E771F #6EA82C #8DCE43

Accessibility & contrast

On white

5.27
#4E771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E771F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E771F#FFFFFF#000000##FFFFFF
##4E771F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E10
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#4F7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e771f;
/* rgb */ color: rgb(78, 119, 31);
/* oklch */ color: oklch(52.0% 0.125 131.4);
Tailwind
colors: {
  custom: {
    50: '#839e61',
    500: '#4e771f',
    950: '#000000',
  },
}
SCSS
$custom: #4e771f;
$custom-light: #839e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e771f",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 87.955,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.12486,
    "h": 131.4
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#4E771F
secondary
#7647AB
accent
#46E28F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E771F

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

Preview Lab → · Contrast checker → · Palette generator →

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