#4F8E20#4F8E20

#4F8E20 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.154 H 135.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F8E20
RGBrgb(79, 142, 32)
HSLhsl(94, 63%, 34%)
HSVhsv(94, 77%, 56%)
CMYKcmyk(44.4%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.07, -39.07, 48.69)
CIE-LCHlch(53.07, 62.43, 128.74°)
OKLaboklab(58.24% -0.1092 0.1087)
OKLCHoklch(58.24% 0.154 135.1)
XYZxyz(13.1579, 21.1118, 4.7479)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E20 #5F208E
analogous
#868E20 #4F8E20 #208E28
triadic
#4F8E20 #204F8E #8E204F
tetradic
#4F8E20 #20868E #5F208E #8E2820
square
#4F8E20 #20868E #5F208E #8E2820
split-complementary
#4F8E20 #28208E #8E2086
monochromatic
#172A09 #335C15 #4F8E20 #6BC02B #8AD851

Accessibility & contrast

On white

4.02
#4F8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E20
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E20#FFFFFF#000000##000000
##4F8E201.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e20;
/* rgb */ color: rgb(79, 142, 32);
/* oklch */ color: oklch(58.2% 0.154 135.1);
Tailwind
colors: {
  custom: {
    50: '#86af64',
    500: '#4f8e20',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e20;
$custom-light: #86af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e20",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 94.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.15409,
    "h": 135.1
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#4F8E20
secondary
#8D4FBB
accent
#42E6A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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