#4F8716#4F8716

#4F8716 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.150 H 133.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4F8716
RGBrgb(79, 135, 22)
HSLhsl(90, 72%, 31%)
HSVhsv(90, 84%, 53%)
CMYKcmyk(41.5%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.74, -36.62, 49.71)
CIE-LCHlch(50.74, 61.74, 126.38°)
OKLaboklab(56.31% -0.1033 0.1093)
OKLCHoklch(56.31% 0.15 133.4)
XYZxyz(12.0331, 19.0475, 3.8014)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8716 #4E1687
analogous
#878616 #4F8716 #168716
triadic
#4F8716 #164F87 #87164F
tetradic
#4F8716 #168786 #4E1687 #871616
square
#4F8716 #168786 #4E1687 #871616
split-complementary
#4F8716 #161687 #861687
monochromatic
#111E05 #30520D #4F8716 #6EBC1F #8CDF39

Accessibility & contrast

On white

4.37
#4F8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4F8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8716
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8716#FFFFFF#000000##000000
##4F87161.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#4F8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8716;
/* rgb */ color: rgb(79, 135, 22);
/* oklch */ color: oklch(56.3% 0.150 133.4);
Tailwind
colors: {
  custom: {
    50: '#86aa5f',
    500: '#4f8716',
    950: '#000000',
  },
}
SCSS
$custom: #4f8716;
$custom-light: #86aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8716",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 89.735,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.15035,
    "h": 133.4
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#4F8716
secondary
#7C3EBB
accent
#39EF93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8716

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

Preview Lab → · Contrast checker → · Palette generator →

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