#4F8D20#4F8D20

#4F8D20 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.153 H 135.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F8D20
RGBrgb(79, 141, 32)
HSLhsl(94, 63%, 34%)
HSVhsv(94, 77%, 55%)
CMYKcmyk(44%, 0%, 77.3%, 44.7%)
CIE-LABlab(52.75, -38.64, 48.38)
CIE-LCHlch(52.75, 61.92, 128.62°)
OKLaboklab(57.97% -0.1081 0.1081)
OKLCHoklch(57.97% 0.153 135)
XYZxyz(13.0098, 20.8156, 4.6985)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D20 #5E208D
analogous
#868D20 #4F8D20 #208D27
triadic
#4F8D20 #204F8D #8D204F
tetradic
#4F8D20 #20868D #5E208D #8D2720
square
#4F8D20 #20868D #5E208D #8D2720
split-complementary
#4F8D20 #27208D #8D2086
monochromatic
#172909 #335B15 #4F8D20 #6BBF2B #8AD750

Accessibility & contrast

On white

4.07
#4F8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D20
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D20#FFFFFF#000000##000000
##4F8D201.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#4D8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d20;
/* rgb */ color: rgb(79, 141, 32);
/* oklch */ color: oklch(58.0% 0.153 135.0);
Tailwind
colors: {
  custom: {
    50: '#86af64',
    500: '#4f8d20',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d20;
$custom-light: #86af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d20",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 94.128,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.15281,
    "h": 135
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#4F8D20
secondary
#8C4EBA
accent
#42E69F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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