#4F9728#4F9728

#4F9728 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.7% C 0.161 H 136.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F9728
RGBrgb(79, 151, 40)
HSLhsl(99, 58%, 37%)
HSVhsv(99, 74%, 59%)
CMYKcmyk(47.7%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.04, -42.27, 48.70)
CIE-LCHlch(56.04, 64.49, 130.95°)
OKLaboklab(60.69% -0.1173 0.1099)
OKLCHoklch(60.69% 0.161 136.9)
XYZxyz(14.6736, 23.9477, 5.8562)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9728 #702897
analogous
#869728 #4F9728 #289739
triadic
#4F9728 #284F97 #97284F
tetradic
#4F9728 #288697 #702897 #973928
square
#4F9728 #288697 #702897 #973928
split-complementary
#4F9728 #392897 #972886
monochromatic
#1C360E #36671B #4F9728 #68C735 #8CD664

Accessibility & contrast

On white

3.63
#4F9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4F9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9728
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9728#FFFFFF#000000##000000
##4F97281.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#4B9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f9728;
/* rgb */ color: rgb(79, 151, 40);
/* oklch */ color: oklch(60.7% 0.161 136.9);
Tailwind
colors: {
  custom: {
    50: '#87b669',
    500: '#4f9728',
    950: '#000000',
  },
}
SCSS
$custom: #4f9728;
$custom-light: #87b669;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9728",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 98.919,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.16075,
    "h": 136.9
  },
  "luminance": 0.23949
}

Semantic roles & 50–950 ramp

primary
#4F9728
secondary
#9B5FBC
accent
#46E1AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9728

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

Preview Lab → · Contrast checker → · Palette generator →

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