#4F8014#4F8014

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

Color values

HEX#4F8014
RGBrgb(79, 128, 20)
HSLhsl(87, 73%, 29%)
HSVhsv(87, 84%, 50%)
CMYKcmyk(38.3%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.45, -33.62, 48.21)
CIE-LCHlch(48.45, 58.78, 124.89°)
OKLaboklab(54.44% -0.0953 0.1058)
OKLCHoklch(54.44% 0.142 132)
XYZxyz(11.0698, 17.1506, 3.3888)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8014 #451480
analogous
#807B14 #4F8014 #198014
triadic
#4F8014 #144F80 #80144F
tetradic
#4F8014 #14807B #451480 #801419
square
#4F8014 #14807B #451480 #801419
split-complementary
#4F8014 #141980 #7B1480
monochromatic
#101A04 #2E4B0C #4F8014 #70B51C #8FDF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8014#FFFFFF#000000##FFFFFF
##4F80141.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)
#867500
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#507A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f8014;
/* rgb */ color: rgb(79, 128, 20);
/* oklch */ color: oklch(54.4% 0.142 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a55d',
    500: '#4f8014',
    950: '#000000',
  },
}
SCSS
$custom: #4f8014;
$custom-light: #85a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8014",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 87.222,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.14241,
    "h": 132
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#4F8014
secondary
#723BB5
accent
#38F08B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F8014

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

Preview Lab → · Contrast checker → · Palette generator →

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