#4F771E#4F771E

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

Color values

HEX#4F771E
RGBrgb(79, 119, 30)
HSLhsl(87, 60%, 29%)
HSVhsv(87, 75%, 47%)
CMYKcmyk(33.6%, 0%, 74.8%, 53.3%)
CIE-LABlab(45.56, -28.89, 42.05)
CIE-LCHlch(45.56, 51.02, 124.49°)
OKLaboklab(52.1% -0.0818 0.0945)
OKLCHoklch(52.1% 0.125 130.9)
XYZxyz(10.0555, 14.9493, 3.5837)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F771E #461E77
analogous
#77731E #4F771E #23771E
triadic
#4F771E #1E4F77 #771E4F
tetradic
#4F771E #1E7773 #461E77 #771E23
square
#4F771E #1E7773 #461E77 #771E23
split-complementary
#4F771E #1E2377 #731E77
monochromatic
#101806 #2F4612 #4F771E #6FA82A #8FCF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F771E#FFFFFF#000000##FFFFFF
##4F771E1.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)
#7D6E0E
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#517266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f771e;
/* rgb */ color: rgb(79, 119, 30);
/* oklch */ color: oklch(52.1% 0.125 130.9);
Tailwind
colors: {
  custom: {
    50: '#849e60',
    500: '#4f771e',
    950: '#000000',
  },
}
SCSS
$custom: #4f771e;
$custom-light: #849e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f771e",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 86.966,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.12499,
    "h": 130.9
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#4F771E
secondary
#7346AB
accent
#45E38C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F771E

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

Preview Lab → · Contrast checker → · Palette generator →

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