#4F8519#4F8519

#4F8519 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.146 H 133.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F8519
RGBrgb(79, 133, 25)
HSLhsl(90, 68%, 31%)
HSVhsv(90, 81%, 52%)
CMYKcmyk(40.6%, 0%, 81.2%, 47.8%)
CIE-LABlab(50.11, -35.59, 48.21)
CIE-LCHlch(50.11, 59.93, 126.44°)
OKLaboklab(55.8% -0.1003 0.1066)
OKLCHoklch(55.8% 0.146 133.3)
XYZxyz(11.7873, 18.5069, 3.8706)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8519 #4F1985
analogous
#858519 #4F8519 #198519
triadic
#4F8519 #194F85 #85194F
tetradic
#4F8519 #198585 #4F1985 #851919
square
#4F8519 #198585 #4F1985 #851919
split-complementary
#4F8519 #191985 #851985
monochromatic
#121E06 #30510F #4F8519 #6EB923 #8CDB3E

Accessibility & contrast

On white

4.47
#4F8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8519
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8519#FFFFFF#000000##000000
##4F85191.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8519;
/* rgb */ color: rgb(79, 133, 25);
/* oklch */ color: oklch(55.8% 0.146 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a960',
    500: '#4f8519',
    950: '#000000',
  },
}
SCSS
$custom: #4f8519;
$custom-light: #86a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8519",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55797,
    "c": 0.14638,
    "h": 133.3
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#4F8519
secondary
#7D41B9
accent
#3DEB94
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8519

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

Preview Lab → · Contrast checker → · Palette generator →

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