#4F8919#4F8919

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

Color values

HEX#4F8919
RGBrgb(79, 137, 25)
HSLhsl(91, 69%, 32%)
HSVhsv(91, 82%, 54%)
CMYKcmyk(42.3%, 0%, 81.8%, 46.3%)
CIE-LABlab(51.41, -37.34, 49.42)
CIE-LCHlch(51.41, 61.94, 127.07°)
OKLaboklab(56.86% -0.105 0.1091)
OKLCHoklch(56.86% 0.151 133.9)
XYZxyz(12.3454, 19.6231, 4.0567)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8919 #531989
analogous
#878919 #4F8919 #19891B
triadic
#4F8919 #194F89 #89194F
tetradic
#4F8919 #198789 #531989 #891B19
square
#4F8919 #198789 #531989 #891B19
split-complementary
#4F8919 #1B1989 #891987
monochromatic
#132106 #315510 #4F8919 #6DBD22 #8BDC40

Accessibility & contrast

On white

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

On black

4.92
#4F8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8919
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8919#FFFFFF#000000##000000
##4F89191.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8919;
/* rgb */ color: rgb(79, 137, 25);
/* oklch */ color: oklch(56.9% 0.151 133.9);
Tailwind
colors: {
  custom: {
    50: '#86ac60',
    500: '#4f8919',
    950: '#000000',
  },
}
SCSS
$custom: #4f8919;
$custom-light: #86ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8919",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 91.071,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.15146,
    "h": 133.9
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#4F8919
secondary
#8141BC
accent
#3CEC97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8919

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

Preview Lab → · Contrast checker → · Palette generator →

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