#4F8916#4F8916

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

Color values

HEX#4F8916
RGBrgb(79, 137, 22)
HSLhsl(90, 72%, 31%)
HSVhsv(90, 84%, 54%)
CMYKcmyk(42.3%, 0%, 83.9%, 46.3%)
CIE-LABlab(51.39, -37.49, 50.30)
CIE-LCHlch(51.39, 62.73, 126.70°)
OKLaboklab(56.85% -0.1056 0.1105)
OKLCHoklch(56.85% 0.153 133.7)
XYZxyz(12.3147, 19.6109, 3.8953)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8916 #501689
analogous
#888916 #4F8916 #168916
triadic
#4F8916 #164F89 #89164F
tetradic
#4F8916 #168889 #501689 #891616
square
#4F8916 #168889 #501689 #891616
split-complementary
#4F8916 #161689 #891688
monochromatic
#122005 #31540E #4F8916 #6DBE1E #8CDF3A

Accessibility & contrast

On white

4.27
#4F8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8916#FFFFFF#000000##000000
##4F89161.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8916;
/* rgb */ color: rgb(79, 137, 22);
/* oklch */ color: oklch(56.8% 0.153 133.7);
Tailwind
colors: {
  custom: {
    50: '#86ac5f',
    500: '#4f8916',
    950: '#000000',
  },
}
SCSS
$custom: #4f8916;
$custom-light: #86ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8916",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 90.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.15285,
    "h": 133.7
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#4F8916
secondary
#7E3EBD
accent
#39EF95
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8916

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

Preview Lab → · Contrast checker → · Palette generator →

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