#4F771D#4F771D

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

Color values

HEX#4F771D
RGBrgb(79, 119, 29)
HSLhsl(87, 61%, 29%)
HSVhsv(87, 76%, 47%)
CMYKcmyk(33.6%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.56, -28.95, 42.44)
CIE-LCHlch(45.56, 51.37, 124.31°)
OKLaboklab(52.09% -0.0821 0.0951)
OKLCHoklch(52.09% 0.126 130.8)
XYZxyz(10.0430, 14.9443, 3.5176)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F771D #451D77
analogous
#77721D #4F771D #22771D
triadic
#4F771D #1D4F77 #771D4F
tetradic
#4F771D #1D7772 #451D77 #771D22
square
#4F771D #1D7772 #451D77 #771D22
split-complementary
#4F771D #1D2277 #721D77
monochromatic
#101906 #2E4611 #4F771D #70A829 #8FD03E

Accessibility & contrast

On white

5.26
#4F771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4F771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F771D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F771D#FFFFFF#000000##FFFFFF
##4F771D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f771d;
/* rgb */ color: rgb(79, 119, 29);
/* oklch */ color: oklch(52.1% 0.126 130.8);
Tailwind
colors: {
  custom: {
    50: '#849e60',
    500: '#4f771d',
    950: '#000000',
  },
}
SCSS
$custom: #4f771d;
$custom-light: #849e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f771d",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 86.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.12565,
    "h": 130.8
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#4F771D
secondary
#7245AB
accent
#44E48B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F771D

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

Preview Lab → · Contrast checker → · Palette generator →

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