#4F8517#4F8517

#4F8517 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.147 H 133.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F8517
RGBrgb(79, 133, 23)
HSLhsl(89, 71%, 31%)
HSVhsv(89, 83%, 52%)
CMYKcmyk(40.6%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.10, -35.70, 48.82)
CIE-LCHlch(50.10, 60.48, 126.17°)
OKLaboklab(55.79% -0.1007 0.1076)
OKLCHoklch(55.79% 0.147 133.1)
XYZxyz(11.7665, 18.4986, 3.7611)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8517 #4D1785
analogous
#858417 #4F8517 #188517
triadic
#4F8517 #174F85 #85174F
tetradic
#4F8517 #178584 #4D1785 #851718
square
#4F8517 #178584 #4D1785 #851718
split-complementary
#4F8517 #171885 #841785
monochromatic
#111D05 #30510E #4F8517 #6EB920 #8DDD3A

Accessibility & contrast

On white

4.47
#4F8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8517
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8517#FFFFFF#000000##000000
##4F85171.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8517;
/* rgb */ color: rgb(79, 133, 23);
/* oklch */ color: oklch(55.8% 0.147 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#4f8517',
    950: '#000000',
  },
}
SCSS
$custom: #4f8517;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8517",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 89.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.14736,
    "h": 133.1
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#4F8517
secondary
#7B3FB9
accent
#3BED92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8517

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

Preview Lab → · Contrast checker → · Palette generator →

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