#4F8920#4F8920

#4F8920 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.148 H 134.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F8920
RGBrgb(79, 137, 32)
HSLhsl(93, 62%, 33%)
HSVhsv(93, 77%, 54%)
CMYKcmyk(42.3%, 0%, 76.6%, 46.3%)
CIE-LABlab(51.45, -36.92, 47.11)
CIE-LCHlch(51.45, 59.86, 128.09°)
OKLaboklab(56.91% -0.1034 0.1054)
OKLCHoklch(56.91% 0.148 134.5)
XYZxyz(12.4306, 19.6572, 4.5055)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8920 #5A2089
analogous
#838920 #4F8920 #208926
triadic
#4F8920 #204F89 #89204F
tetradic
#4F8920 #208389 #5A2089 #892620
square
#4F8920 #208389 #5A2089 #892620
split-complementary
#4F8920 #262089 #892083
monochromatic
#162609 #325714 #4F8920 #6CBB2C #8BD64E

Accessibility & contrast

On white

4.26
#4F8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8920
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8920#FFFFFF#000000##000000
##4F89201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E09
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8920;
/* rgb */ color: rgb(79, 137, 32);
/* oklch */ color: oklch(56.9% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#86ac64',
    500: '#4f8920',
    950: '#000000',
  },
}
SCSS
$custom: #4f8920;
$custom-light: #86ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8920",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 93.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.14766,
    "h": 134.5
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#4F8920
secondary
#884CB9
accent
#43E59C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8920

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

Preview Lab → · Contrast checker → · Palette generator →

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