#4F9822#4F9822

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

Color values

HEX#4F9822
RGBrgb(79, 152, 34)
HSLhsl(97, 63%, 36%)
HSVhsv(97, 78%, 60%)
CMYKcmyk(48%, 0%, 77.6%, 40.4%)
CIE-LABlab(56.32, -43.09, 51.15)
CIE-LCHlch(56.32, 66.88, 130.11°)
OKLaboklab(60.91% -0.1199 0.1141)
OKLCHoklch(60.91% 0.166 136.4)
XYZxyz(14.7410, 24.2333, 5.4138)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9822 #6B2298
analogous
#8A9822 #4F9822 #229830
triadic
#4F9822 #224F98 #98224F
tetradic
#4F9822 #228A98 #6B2298 #983022
square
#4F9822 #228A98 #6B2298 #983022
split-complementary
#4F9822 #302298 #98228A
monochromatic
#1B340C #356617 #4F9822 #69CA2D #8BDA5A

Accessibility & contrast

On white

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

On black

5.85
#4F9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9822
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9822#FFFFFF#000000##000000
##4F98221.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B05
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#4B9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f9822;
/* rgb */ color: rgb(79, 152, 34);
/* oklch */ color: oklch(60.9% 0.166 136.4);
Tailwind
colors: {
  custom: {
    50: '#87b766',
    500: '#4f9822',
    950: '#000000',
  },
}
SCSS
$custom: #4f9822;
$custom-light: #87b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9822",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 97.119,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.16555,
    "h": 136.4
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#4F9822
secondary
#9757BE
accent
#41E6A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9822

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

Preview Lab → · Contrast checker → · Palette generator →

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