#4E771D#4E771D

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

Color values

HEX#4E771D
RGBrgb(78, 119, 29)
HSLhsl(87, 61%, 29%)
HSVhsv(87, 76%, 47%)
CMYKcmyk(34.5%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.50, -29.35, 42.36)
CIE-LCHlch(45.50, 51.53, 124.72°)
OKLaboklab(52.03% -0.0831 0.095)
OKLCHoklch(52.03% 0.126 131.2)
XYZxyz(9.9604, 14.9017, 3.5137)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E771D #461D77
analogous
#77731D #4E771D #21771D
triadic
#4E771D #1D4E77 #771D4E
tetradic
#4E771D #1D7773 #461D77 #771D21
square
#4E771D #1D7773 #461D77 #771D21
split-complementary
#4E771D #1D2177 #731D77
monochromatic
#101906 #2E4611 #4E771D #6EA829 #8ED03E

Accessibility & contrast

On white

5.28
#4E771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E771D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E771D#FFFFFF#000000##FFFFFF
##4E771D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E0C
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#507266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e771d;
/* rgb */ color: rgb(78, 119, 29);
/* oklch */ color: oklch(52.0% 0.126 131.2);
Tailwind
colors: {
  custom: {
    50: '#839e60',
    500: '#4e771d',
    950: '#000000',
  },
}
SCSS
$custom: #4e771d;
$custom-light: #839e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e771d",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 87.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.1262,
    "h": 131.2
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#4E771D
secondary
#7345AB
accent
#44E48D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E771D

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

Preview Lab → · Contrast checker → · Palette generator →

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