#4F8617#4F8617

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

Color values

HEX#4F8617
RGBrgb(79, 134, 23)
HSLhsl(90, 71%, 31%)
HSVhsv(90, 83%, 53%)
CMYKcmyk(41%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.42, -36.14, 49.12)
CIE-LCHlch(50.42, 60.98, 126.34°)
OKLaboklab(56.05% -0.1019 0.1082)
OKLCHoklch(56.05% 0.149 133.3)
XYZxyz(11.9040, 18.7737, 3.8069)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8617 #4E1786
analogous
#868517 #4F8617 #178617
triadic
#4F8617 #174F86 #86174F
tetradic
#4F8617 #178685 #4E1786 #861717
square
#4F8617 #178685 #4E1786 #861717
split-complementary
#4F8617 #171786 #851786
monochromatic
#111E05 #30520E #4F8617 #6EBA20 #8CDD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8617#FFFFFF#000000##000000
##4F86171.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)
#847624
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8617;
/* rgb */ color: rgb(79, 134, 23);
/* oklch */ color: oklch(56.1% 0.149 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#4f8617',
    950: '#000000',
  },
}
SCSS
$custom: #4f8617;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8617",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 89.73,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.14863,
    "h": 133.3
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#4F8617
secondary
#7C3FBA
accent
#3AED93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8617

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

Preview Lab → · Contrast checker → · Palette generator →

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