#4F9C28#4F9C28

#4F9C28 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.0% C 0.167 H 137.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4F9C28
RGBrgb(79, 156, 40)
HSLhsl(100, 59%, 38%)
HSVhsv(100, 74%, 61%)
CMYKcmyk(49.4%, 0%, 74.4%, 38.8%)
CIE-LABlab(57.65, -44.30, 50.32)
CIE-LCHlch(57.65, 67.04, 131.36°)
OKLaboklab(62.01% -0.1228 0.1133)
OKLCHoklch(62.01% 0.167 137.3)
XYZxyz(15.4954, 25.5913, 6.1302)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9C28 #75289C
analogous
#899C28 #4F9C28 #289C3B
triadic
#4F9C28 #284F9C #9C284F
tetradic
#4F9C28 #28899C #75289C #9C3B28
square
#4F9C28 #28899C #75289C #9C3B28
split-complementary
#4F9C28 #3B289C #9C2889
monochromatic
#1E3B0F #366B1C #4F9C28 #68CB36 #8DD867

Accessibility & contrast

On white

3.43
#4F9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#4F9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9C28
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9C28#FFFFFF#000000##000000
##4F9C281.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#4A9686
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4f9c28;
/* rgb */ color: rgb(79, 156, 40);
/* oklch */ color: oklch(62.0% 0.167 137.3);
Tailwind
colors: {
  custom: {
    50: '#88ba6a',
    500: '#4f9c28',
    950: '#000000',
  },
}
SCSS
$custom: #4f9c28;
$custom-light: #88ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9c28",
  "rgb": {
    "r": 79,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 99.828,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62013,
    "c": 0.16708,
    "h": 137.3
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#4F9C28
secondary
#9F62BE
accent
#45E2AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4F9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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