#4F8016#4F8016

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

Color values

HEX#4F8016
RGBrgb(79, 128, 22)
HSLhsl(88, 71%, 29%)
HSVhsv(88, 83%, 50%)
CMYKcmyk(38.3%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.46, -33.53, 47.63)
CIE-LCHlch(48.46, 58.24, 125.14°)
OKLaboklab(54.45% -0.095 0.1049)
OKLCHoklch(54.45% 0.141 132.2)
XYZxyz(11.0883, 17.1581, 3.4865)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8016 #471680
analogous
#807C16 #4F8016 #1A8016
triadic
#4F8016 #164F80 #80164F
tetradic
#4F8016 #16807C #471680 #80161A
square
#4F8016 #16807C #471680 #80161A
split-complementary
#4F8016 #161A80 #7C1680
monochromatic
#101A04 #2F4C0D #4F8016 #6FB41F #8FDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8016#FFFFFF#000000##FFFFFF
##4F80161.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)
#7F7222
Tritanopia (blue-blind)
#507A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f8016;
/* rgb */ color: rgb(79, 128, 22);
/* oklch */ color: oklch(54.4% 0.141 132.2);
Tailwind
colors: {
  custom: {
    50: '#85a55e',
    500: '#4f8016',
    950: '#000000',
  },
}
SCSS
$custom: #4f8016;
$custom-light: #85a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8016",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 87.736,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.14148,
    "h": 132.2
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#4F8016
secondary
#743DB5
accent
#3AED8D
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F8016

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

Preview Lab → · Contrast checker → · Palette generator →

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