#4F9928#4F9928

#4F9928 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.2% C 0.163 H 137.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4F9928
RGBrgb(79, 153, 40)
HSLhsl(99, 59%, 38%)
HSVhsv(99, 74%, 60%)
CMYKcmyk(48.4%, 0%, 73.9%, 40%)
CIE-LABlab(56.68, -43.09, 49.35)
CIE-LCHlch(56.68, 65.52, 131.12°)
OKLaboklab(61.22% -0.1195 0.1113)
OKLCHoklch(61.22% 0.163 137)
XYZxyz(14.9982, 24.5969, 5.9644)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9928 #722899
analogous
#879928 #4F9928 #289939
triadic
#4F9928 #284F99 #99284F
tetradic
#4F9928 #288799 #722899 #993928
square
#4F9928 #288799 #722899 #993928
split-complementary
#4F9928 #392899 #992887
monochromatic
#1D380F #36681B #4F9928 #68CA35 #8CD765

Accessibility & contrast

On white

3.55
#4F9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#4F9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9928
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9928#FFFFFF#000000##000000
##4F99281.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C13
Deuteranopia (green-blind)
#948633
Tritanopia (blue-blind)
#4B9383
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f9928;
/* rgb */ color: rgb(79, 153, 40);
/* oklch */ color: oklch(61.2% 0.163 137.0);
Tailwind
colors: {
  custom: {
    50: '#87b86a',
    500: '#4f9928',
    950: '#000000',
  },
}
SCSS
$custom: #4f9928;
$custom-light: #87b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9928",
  "rgb": {
    "r": 79,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 99.292,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.16329,
    "h": 137
  },
  "luminance": 0.24598
}

Semantic roles & 50–950 ramp

primary
#4F9928
secondary
#9D60BD
accent
#46E2AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9928

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

Preview Lab → · Contrast checker → · Palette generator →

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