#4F8726#4F8726

#4F8726 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.141 H 134.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F8726
RGBrgb(79, 135, 38)
HSLhsl(95, 56%, 34%)
HSVhsv(95, 72%, 53%)
CMYKcmyk(41.5%, 0%, 71.9%, 47.1%)
CIE-LABlab(50.84, -35.62, 44.19)
CIE-LCHlch(50.84, 56.76, 128.87°)
OKLaboklab(56.42% -0.0994 0.1002)
OKLCHoklch(56.42% 0.141 134.8)
XYZxyz(12.2380, 19.1295, 4.8809)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8726 #5E2687
analogous
#808726 #4F8726 #26872E
triadic
#4F8726 #264F87 #87264F
tetradic
#4F8726 #268087 #5E2687 #872E26
square
#4F8726 #268087 #5E2687 #872E26
split-complementary
#4F8726 #2E2687 #872680
monochromatic
#17270B #335719 #4F8726 #6BB733 #8AD058

Accessibility & contrast

On white

4.35
#4F8726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4F8726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8726
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8726#FFFFFF#000000##000000
##4F87261.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C17
Deuteranopia (green-blind)
#85772F
Tritanopia (blue-blind)
#4E8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8726;
/* rgb */ color: rgb(79, 135, 38);
/* oklch */ color: oklch(56.4% 0.141 134.8);
Tailwind
colors: {
  custom: {
    50: '#85aa66',
    500: '#4f8726',
    950: '#000000',
  },
}
SCSS
$custom: #4f8726;
$custom-light: #85aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8726",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 94.639,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.14115,
    "h": 134.8
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#4F8726
secondary
#8C54B5
accent
#48DFA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8726

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

Preview Lab → · Contrast checker → · Palette generator →

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