#4F9820#4F9820

#4F9820 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.167 H 136.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F9820
RGBrgb(79, 152, 32)
HSLhsl(97, 65%, 36%)
HSVhsv(97, 79%, 60%)
CMYKcmyk(48%, 0%, 78.9%, 40.4%)
CIE-LABlab(56.31, -43.21, 51.80)
CIE-LCHlch(56.31, 67.46, 129.83°)
OKLaboklab(60.9% -0.1204 0.1152)
OKLCHoklch(60.9% 0.167 136.3)
XYZxyz(14.7130, 24.2221, 5.2663)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9820 #692098
analogous
#8B9820 #4F9820 #20982D
triadic
#4F9820 #204F98 #98204F
tetradic
#4F9820 #208B98 #692098 #982D20
square
#4F9820 #208B98 #692098 #982D20
split-complementary
#4F9820 #2D2098 #98208B
monochromatic
#1A330B #356515 #4F9820 #69CB2B #8BDC57

Accessibility & contrast

On white

3.59
#4F9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#4F9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9820
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9820#FFFFFF#000000##000000
##4F98201.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#4C9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f9820;
/* rgb */ color: rgb(79, 152, 32);
/* oklch */ color: oklch(60.9% 0.167 136.3);
Tailwind
colors: {
  custom: {
    50: '#88b766',
    500: '#4f9820',
    950: '#000000',
  },
}
SCSS
$custom: #4f9820;
$custom-light: #88b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9820",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 96.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.16661,
    "h": 136.3
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#4F9820
secondary
#9554BF
accent
#40E8A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9820

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

Preview Lab → · Contrast checker → · Palette generator →

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