#4F891A#4F891A

#4F891A is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.151 H 134.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F891A
RGBrgb(79, 137, 26)
HSLhsl(91, 68%, 32%)
HSVhsv(91, 81%, 54%)
CMYKcmyk(42.3%, 0%, 81%, 46.3%)
CIE-LABlab(51.41, -37.28, 49.12)
CIE-LCHlch(51.41, 61.66, 127.20°)
OKLaboklab(56.87% -0.1048 0.1087)
OKLCHoklch(56.87% 0.151 134)
XYZxyz(12.3563, 19.6275, 4.1145)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F891A #541A89
analogous
#87891A #4F891A #1A891C
triadic
#4F891A #1A4F89 #891A4F
tetradic
#4F891A #1A8789 #541A89 #891C1A
square
#4F891A #1A8789 #541A89 #891C1A
split-complementary
#4F891A #1C1A89 #891A87
monochromatic
#142206 #315610 #4F891A #6DBC24 #8BDB42

Accessibility & contrast

On white

4.26
#4F891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F891A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F891A#FFFFFF#000000##000000
##4F891A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#4E8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f891a;
/* rgb */ color: rgb(79, 137, 26);
/* oklch */ color: oklch(56.9% 0.151 134.0);
Tailwind
colors: {
  custom: {
    50: '#86ac61',
    500: '#4f891a',
    950: '#000000',
  },
}
SCSS
$custom: #4f891a;
$custom-light: #86ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f891a",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 91.351,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.15096,
    "h": 134
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

primary
#4F891A
secondary
#8243BC
accent
#3DEB98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F891A

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

Preview Lab → · Contrast checker → · Palette generator →

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