#4F8719#4F8719

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

Color values

HEX#4F8719
RGBrgb(79, 135, 25)
HSLhsl(91, 69%, 31%)
HSVhsv(91, 81%, 53%)
CMYKcmyk(41.5%, 0%, 81.5%, 47.1%)
CIE-LABlab(50.76, -36.47, 48.82)
CIE-LCHlch(50.76, 60.94, 126.76°)
OKLaboklab(56.33% -0.1027 0.1079)
OKLCHoklch(56.33% 0.149 133.6)
XYZxyz(12.0637, 19.0598, 3.9628)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8719 #511987
analogous
#868719 #4F8719 #19871A
triadic
#4F8719 #194F87 #87194F
tetradic
#4F8719 #198687 #511987 #871A19
square
#4F8719 #198687 #511987 #871A19
split-complementary
#4F8719 #1A1987 #871986
monochromatic
#132006 #31530F #4F8719 #6DBB23 #8CDB3F

Accessibility & contrast

On white

4.36
#4F8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8719#FFFFFF#000000##000000
##4F87191.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8719;
/* rgb */ color: rgb(79, 135, 25);
/* oklch */ color: oklch(56.3% 0.149 133.6);
Tailwind
colors: {
  custom: {
    50: '#86aa60',
    500: '#4f8719',
    950: '#000000',
  },
}
SCSS
$custom: #4f8719;
$custom-light: #86aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8719",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 90.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.14893,
    "h": 133.6
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#4F8719
secondary
#7F41BA
accent
#3CEC95
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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