#4F8019#4F8019

#4F8019 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.140 H 132.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4F8019
RGBrgb(79, 128, 25)
HSLhsl(89, 67%, 30%)
HSVhsv(89, 80%, 50%)
CMYKcmyk(38.3%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.47, -33.37, 46.69)
CIE-LCHlch(48.47, 57.38, 125.55°)
OKLaboklab(54.46% -0.0943 0.1034)
OKLCHoklch(54.46% 0.14 132.4)
XYZxyz(11.1190, 17.1703, 3.6479)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8019 #4A1980
analogous
#807E19 #4F8019 #1B8019
triadic
#4F8019 #194F80 #80194F
tetradic
#4F8019 #19807E #4A1980 #80191B
square
#4F8019 #19807E #4A1980 #80191B
split-complementary
#4F8019 #191B80 #7E1980
monochromatic
#101A05 #2F4D0F #4F8019 #6FB323 #8ED93B

Accessibility & contrast

On white

4.74
#4F8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4F8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8019
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8019#FFFFFF#000000##FFFFFF
##4F80191.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#507A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f8019;
/* rgb */ color: rgb(79, 128, 25);
/* oklch */ color: oklch(54.5% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#85a55f',
    500: '#4f8019',
    950: '#000000',
  },
}
SCSS
$custom: #4f8019;
$custom-light: #85a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8019",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 88.544,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.13996,
    "h": 132.4
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#4F8019
secondary
#7841B4
accent
#3EEA90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F8019

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

Preview Lab → · Contrast checker → · Palette generator →

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