#4F8616#4F8616

#4F8616 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.149 H 133.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4F8616
RGBrgb(79, 134, 22)
HSLhsl(89, 72%, 31%)
HSVhsv(89, 84%, 53%)
CMYKcmyk(41%, 0%, 83.6%, 47.5%)
CIE-LABlab(50.42, -36.19, 49.41)
CIE-LCHlch(50.42, 61.24, 126.22°)
OKLaboklab(56.05% -0.1021 0.1086)
OKLCHoklch(56.05% 0.149 133.2)
XYZxyz(11.8942, 18.7698, 3.7551)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8616 #4D1686
analogous
#868516 #4F8616 #178616
triadic
#4F8616 #164F86 #86164F
tetradic
#4F8616 #168685 #4D1686 #861617
square
#4F8616 #168685 #4D1686 #861617
split-complementary
#4F8616 #161786 #851686
monochromatic
#111D05 #30510D #4F8616 #6EBB1F #8DDE38

Accessibility & contrast

On white

4.42
#4F8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4F8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8616
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8616#FFFFFF#000000##000000
##4F86161.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8616;
/* rgb */ color: rgb(79, 134, 22);
/* oklch */ color: oklch(56.0% 0.149 133.2);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#4f8616',
    950: '#000000',
  },
}
SCSS
$custom: #4f8616;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8616",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 89.464,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.14909,
    "h": 133.2
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#4F8616
secondary
#7B3EBA
accent
#39EF92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8616

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

Preview Lab → · Contrast checker → · Palette generator →

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